Condition Coverage

blib/lib/HTML/Table.pm
Criterion Covered Total %
condition 0 520 0.0


and 3 conditions

line !l l&&!r l&&r condition
844 0 0 0 defined $_[0] and $_[0] =~ /^-/
846 0 0 0 defined $flags{-'border'} && _is_validnum($flags{-'border'})
854 0 0 0 defined $flags{-'spacing'} && _is_validnum($flags{-'spacing'})
855 0 0 0 defined $flags{-'padding'} && _is_validnum($flags{-'padding'})
875 0 0 0 defined $flags{-'rows'} and $$self{'tbody'}[0]{'last_row'} < $flags{-'rows'}
922 0 0 0 $$self{'tbody'}[0]{'last_row'} and $$self{'last_col'}
989 0 0 0 defined $$self{'evenrowclass'} && $row_num % 2 == 0
0 0 0 defined $$self{'oddrowclass'} && $row_num % 2 == 1
1000 0 0 0 defined $$self{$section}[$sect_num]{'rows'}[$row_num]{'cells'}[$j]{'colspan'} and $$self{$section}[$sect_num]{'rows'}[$row_num]{'cells'}[$j]{'colspan'} eq 'SPANNED'
1129 0 0 0 defined $$self{'autogrow'} and $$self{'autogrow'} =~ /^(?:no|off|false|disable|0)$/i
1262 0 0 0 defined $align and $align eq 'top' || $align eq 'bottom'
1314 0 0 0 $section =~ /thead|tfoot/i and $section_num > 0
1391 0 0 0 defined $_[0] and $_[0] =~ /^-/
1423 0 0 0 lc $sort_type ne 'alpha' and $strip_non_numeric
1480 0 0 0 $section =~ /thead|tfoot/i and $section_num > 0
1501 0 0 0 $section =~ /thead|tfoot/i and $section_num > 0
1522 0 0 0 $section =~ /thead|tfoot/i and $section_num > 0
1543 0 0 0 $section =~ /thead|tfoot/i and $section_num > 0
1565 0 0 0 $section =~ /thead|tfoot/i and $section_num > 0
1593 0 0 0 $section =~ /thead|tfoot/i and $section_num > 0
1621 0 0 0 $section =~ /thead|tfoot/i and $section_num > 0
1689 0 0 0 $section =~ /thead|tfoot/i and $section_num > 0
1741 0 0 0 $section =~ /thead|tfoot/i and $section_num > 0
1781 0 0 0 $section =~ /thead|tfoot/i and $section_num > 0
1852 0 0 0 $section =~ /thead|tfoot/i and $section_num > 0
1925 0 0 0 $section =~ /thead|tfoot/i and $section_num > 0
1980 0 0 0 $section =~ /thead|tfoot/i and $section_num > 0
2035 0 0 0 $section =~ /thead|tfoot/i and $section_num > 0
2101 0 0 0 $section =~ /thead|tfoot/i and $section_num > 0
2163 0 0 0 $section =~ /thead|tfoot/i and $section_num > 0
2226 0 0 0 $section =~ /thead|tfoot/i and $section_num > 0
2247 0 0 0 $num_cols and $num_rows
2292 0 0 0 $section =~ /thead|tfoot/i and $section_num > 0
2355 0 0 0 $section =~ /thead|tfoot/i and $section_num > 0
2421 0 0 0 $section =~ /thead|tfoot/i and $section_num > 0
2490 0 0 0 $section =~ /thead|tfoot/i and $section_num > 0
2551 0 0 0 $section =~ /thead|tfoot/i and $section_num > 0
2611 0 0 0 $section =~ /thead|tfoot/i and $section_num > 0
2673 0 0 0 $section =~ /thead|tfoot/i and $section_num > 0
2721 0 0 0 $section =~ /thead|tfoot/i and $section_num > 0
2771 0 0 0 $section =~ /thead|tfoot/i and $section_num > 0
2824 0 0 0 $section =~ /thead|tfoot/i and $section_num > 0
2874 0 0 0 $section =~ /thead|tfoot/i and $section_num > 0
2923 0 0 0 $section =~ /thead|tfoot/i and $section_num > 0
2971 0 0 0 $section =~ /thead|tfoot/i and $section_num > 0
3019 0 0 0 $section =~ /thead|tfoot/i and $section_num > 0
3069 0 0 0 $section =~ /thead|tfoot/i and $section_num > 0
3119 0 0 0 $section =~ /thead|tfoot/i and $section_num > 0
3201 0 0 0 $section =~ /thead|tfoot/i and $section_num > 0
3286 0 0 0 $section =~ /thead|tfoot/i and $section_num > 0
3370 0 0 0 $section =~ /thead|tfoot/i and $section_num > 0
3453 0 0 0 $section =~ /thead|tfoot/i and $section_num > 0
3495 0 0 0 $section =~ /thead|tfoot/i and $section_num > 0
3543 0 0 0 $section =~ /thead|tfoot/i and $section_num > 0
3594 0 0 0 $section =~ /thead|tfoot/i and $section_num > 0
3645 0 0 0 $section =~ /thead|tfoot/i and $section_num > 0
3696 0 0 0 $section =~ /thead|tfoot/i and $section_num > 0
3747 0 0 0 $section =~ /thead|tfoot/i and $section_num > 0
3798 0 0 0 $section =~ /thead|tfoot/i and $section_num > 0
3849 0 0 0 $section =~ /thead|tfoot/i and $section_num > 0
3901 0 0 0 $section =~ /thead|tfoot/i and $section_num > 0
3953 0 0 0 $section =~ /thead|tfoot/i and $section_num > 0
4005 0 0 0 $section =~ /thead|tfoot/i and $section_num > 0
4057 0 0 0 $section =~ /thead|tfoot/i and $section_num > 0
4106 0 0 0 $section =~ /thead|tfoot/i and $section_num > 0
4169 0 0 0 $j <= $$self{'last_col'} and $j <= $col + $colspan - 1
4174 0 0 0 $i <= $$self{$section}[$section_num]{'last_row'} and $i <= $row + $rowspan - 1
4179 0 0 0 $colspan and $rowspan
4181 0 0 0 $i <= $$self{$section}[$section_num]{'last_row'} and $i <= $row + $rowspan - 1
4182 0 0 0 $j <= $$self{'last_col'} and $j <= $col + $colspan - 1
4221 0 0 0 defined $str and $str =~ /^\s*\d+\s*$/
0 0 0 defined $str and $str =~ /^\s*\d+\s*$/ and $str >= 0

or 2 conditions

line l !l condition
847 0 0 $flags{-'align'} || undef
848 0 0 $flags{-'rules'} || undef
849 0 0 $flags{-'style'} || undef
850 0 0 $flags{-'class'} || undef
851 0 0 $flags{-'bgcolor'} || undef
852 0 0 $flags{-'background'} || undef
853 0 0 $flags{-'width'} || undef
856 0 0 $flags{-'cols'} || 0
857 0 0 $flags{-'evenrowclass'} || undef
858 0 0 $flags{-'oddrowclass'} || undef
877 0 0 $flags{-'rows'} || 0
894 0 0 shift() || 0
895 0 0 shift() || 0
1163 0 0 shift() || undef
1174 0 0 shift() || undef
1185 0 0 shift() || undef
1195 0 0 shift() || undef
1205 0 0 shift() || undef
1277 0 0 shift() || undef
1289 0 0 shift() || undef
1300 0 0 shift() || undef
1356 0 0 (shift())->{'style'} || undef
1393 0 0 $flag{-'section'} || 'tbody'
1394 0 0 $flag{-'section_num'} || 0
1395 0 0 $flag{-'sort_col'} || 1
1396 0 0 $flag{-'sort_type'} || 'alpha'
1397 0 0 $flag{-'sort_order'} || 'asc'
1398 0 0 $flag{-'skip_rows'} || 0
1402 0 0 $flag{-'presort_func'} || undef
1405 0 0 shift() || 1
1406 0 0 shift() || 'alpha'
1407 0 0 shift() || 'asc'
1408 0 0 shift() || 0
1488 0 0 shift() || undef
1509 0 0 shift() || undef
1530 0 0 shift() || undef
1551 0 0 shift() || undef
1923 0 0 shift() || 1
1961 0 0 shift() || 1
3117 0 0 shift() || 1
3154 0 0 shift() || 1
3167 0 0 shift() || 1
3183 0 0 shift() || 1
3643 0 0 shift() || 1
3678 0 0 shift() || 1
3847 0 0 shift() || 1
3883 0 0 shift() || 1
3899 0 0 shift() || 1
3935 0 0 shift() || 1
3951 0 0 shift() || 1
3987 0 0 shift() || 1
4159 0 0 $$self{$section}[$section_num]{'rows'}[$row]{'cells'}[$col]{'colspan'} || 0
4160 0 0 $$self{$section}[$section_num]{'rows'}[$row]{'cells'}[$col]{'rowspan'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
839 0 0 0 ref $type || $type
1262 0 0 0 $align eq 'top' || $align eq 'bottom'
1573 0 0 0 $valign eq 'center' or $valign eq 'top'
0 0 0 $valign eq 'center' or $valign eq 'top' or $valign eq 'bottom'
0 0 0 $valign eq 'center' or $valign eq 'top' or $valign eq 'bottom' or $valign eq 'middle'
0 0 0 $valign eq 'center' or $valign eq 'top' or $valign eq 'bottom' or $valign eq 'middle' or $valign eq 'baseline'
1701 0 0 0 $row > $$self{$section}[$section_num]{'last_row'} or $row < 1
1705 0 0 0 $col > $$self{'last_col'} or $col < 1
1793 0 0 0 $row > $$self{$section}[$section_num]{'last_row'} or $row < 1
1797 0 0 0 $col > $$self{'last_col'} or $col < 1
1808 0 0 0 $align eq 'center' or $align eq 'right'
0 0 0 $align eq 'center' or $align eq 'right' or $align eq 'left'
1864 0 0 0 $row > $$self{$section}[$section_num]{'last_row'} or $row < 1
1868 0 0 0 $col > $$self{'last_col'} or $col < 1
1879 0 0 0 $valign eq 'center' or $valign eq 'top'
0 0 0 $valign eq 'center' or $valign eq 'top' or $valign eq 'bottom'
0 0 0 $valign eq 'center' or $valign eq 'top' or $valign eq 'bottom' or $valign eq 'middle'
0 0 0 $valign eq 'center' or $valign eq 'top' or $valign eq 'bottom' or $valign eq 'middle' or $valign eq 'baseline'
1937 0 0 0 $row > $$self{$section}[$section_num]{'last_row'} or $row < 1
1941 0 0 0 $col > $$self{'last_col'} or $col < 1
1992 0 0 0 $row > $$self{$section}[$section_num]{'last_row'} or $row < 1
1996 0 0 0 $col > $$self{'last_col'} or $col < 1
2047 0 0 0 $row > $$self{$section}[$section_num]{'last_row'} or $row < 1
2051 0 0 0 $col > $$self{'last_col'} or $col < 1
2113 0 0 0 $row > $$self{$section}[$section_num]{'last_row'} or $row < 1
2117 0 0 0 $col > $$self{'last_col'} or $col < 1
2175 0 0 0 $row > $$self{$section}[$section_num]{'last_row'} or $row < 1
2179 0 0 0 $col > $$self{'last_col'} or $col < 1
2238 0 0 0 $row > $$self{$section}[$section_num]{'last_row'} or $row < 1
2242 0 0 0 $col > $$self{'last_col'} or $col < 1
2304 0 0 0 $row > $$self{$section}[$section_num]{'last_row'} or $row < 1
2308 0 0 0 $col > $$self{'last_col'} or $col < 1
2367 0 0 0 $row > $$self{$section}[$section_num]{'last_row'} or $row < 1
2372 0 0 0 $col > $$self{'last_col'} or $col < 1
2433 0 0 0 $row > $$self{$section}[$section_num]{'last_row'} or $row < 1
2437 0 0 0 $col > $$self{'last_col'} or $col < 1
2502 0 0 0 $row > $$self{$section}[$section_num]{'last_row'} or $row < 1
2506 0 0 0 $col > $$self{'last_col'} or $col < 1
2563 0 0 0 $row > $$self{$section}[$section_num]{'last_row'} or $row < 1
2567 0 0 0 $col > $$self{'last_col'} or $col < 1
2623 0 0 0 $row > $$self{$section}[$section_num]{'last_row'} or $row < 1
2627 0 0 0 $col > $$self{'last_col'} or $col < 1
2782 0 0 0 $row > $$self{$section}[$section_num]{'last_row'} or $row < 1
2835 0 0 0 $row > $$self{$section}[$section_num]{'last_row'} or $row < 1
2885 0 0 0 $row > $$self{$section}[$section_num]{'last_row'} or $row < 1
2934 0 0 0 $row > $$self{$section}[$section_num]{'last_row'} or $row < 1
2982 0 0 0 $row > $$self{$section}[$section_num]{'last_row'} or $row < 1
3031 0 0 0 $row > $$self{$section}[$section_num]{'last_row'} or $row < 1
3081 0 0 0 $row > $$self{$section}[$section_num]{'last_row'} or $row < 1
3130 0 0 0 $row > $$self{$section}[$section_num]{'last_row'} or $row < 1
3212 0 0 0 $row > $$self{$section}[$section_num]{'last_row'} or $row < 1
3297 0 0 0 $row > $$self{$section}[$section_num]{'last_row'} or $row < 1
3382 0 0 0 $row > $$self{$section}[$section_num]{'last_row'} or $row < 1
3555 0 0 0 $col > $$self{'last_col'} or $col < 1
3606 0 0 0 $col > $$self{'last_col'} or $col < 1
3657 0 0 0 $col > $$self{'last_col'} or $col < 1
3708 0 0 0 $col > $$self{'last_col'} or $col < 1
3759 0 0 0 $col > $$self{'last_col'} or $col < 1
3810 0 0 0 $col > $$self{'last_col'} or $col < 1
3861 0 0 0 $col > $$self{'last_col'} or $col < 1
3913 0 0 0 $col > $$self{'last_col'} or $col < 1
3965 0 0 0 $col > $$self{'last_col'} or $col < 1
4017 0 0 0 $col > $$self{'last_col'} or $col < 1
4069 0 0 0 $col > $$self{'last_col'} or $col < 1
4289 0 0 0 $row > $$self{$section}[$section_num]{'last_row'} or $row < 1
4299 0 0 0 $col > $$self{'last_col'} or $col < 1