Branch Coverage

blib/lib/Text/ANSITable/SQLStyleSheet.pm
Criterion Covered Total %
branch 17 26 65.3


line true false branch
37 1 0 if (defined $sth_type)
41 0 1 if ($type_info and exists $type_info->{'TYPE_NAME'}) { }
1 0 elsif (not $sth_type =~ /^\d+$/u) { }
110 1 1 if defined $sql
118 2 1 /^__(\w+)_style$/u ? :
131 1 9 if ($nth == 0)
149 1 20 unless defined $ix
150 0 20 unless defined $row->[$ix]
154 0 20 unless 'HASH' eq ref $h
166 1 0 unless my $style = _get_hashref($row, $ix)
178 0 10 unless my $style = _get_hashref($row, $ix)
188 0 10 unless my $style = _get_hashref($row, $ix)
195 10 0 if (exists $cell_style{'value'})