Branch Coverage

blib/lib/Text/ANSITable/SQLStyleSheet.pm
Criterion Covered Total %
branch 19 28 67.8


line true false branch
37 2 0 if (defined $sth_type)
41 0 2 if ($type_info and exists $type_info->{'TYPE_NAME'}) { }
2 0 elsif (not $sth_type =~ /^\d+$/u) { }
98 1 1 if ('CODE' eq ref $sql_or_code) { }
116 2 2 if defined $sql_or_code
124 4 2 /^__(\w+)_style$/u ? :
137 2 18 if ($nth == 0)
155 2 40 unless defined $ix
156 0 40 unless defined $row->[$ix]
160 0 40 unless 'HASH' eq ref $h
172 2 0 unless my $style = _get_hashref($row, $ix)
184 0 20 unless my $style = _get_hashref($row, $ix)
194 0 20 unless my $style = _get_hashref($row, $ix)
201 20 0 if (exists $cell_style{'value'})