Branch Coverage

blib/lib/HTML/TableTiler.pm
Criterion Covered Total %
branch 32 62 51.6


line true false branch
28 3 1 unless ref $t eq 'SCALAR'
30 0 4 unless $$t
51 0 4 unless $Hrows
59 0 4 if ($@)
74 5 19 if ($tag eq 'tr') { }
5 14 elsif ($tag eq '/tr') { }
7 7 elsif ($tag eq 'td') { }
7 0 elsif ($tag eq '/td') { }
0 0 elsif (not $tag =~ m[^/]) { }
0 0 elsif ($tag =~ m[^/]) { }
75 0 5 if $in_tr or $in_td
80 0 5 unless $in_tr and not $in_td
86 0 7 unless $in_tr and not $in_td
91 0 7 unless $in_tr and $in_td
97 0 0 unless $in_tr and $in_td
98 0 0 if $in_td
101 0 0 unless $in_tr and $in_td
102 0 0 if $in_td
105 0 4 unless $td
116 12 0 if (ref $dr eq 'ARRAY') { }
118 0 60 if ref $d
135 3 1 if (length ref $_[0] and eval { do { $_[0]->isa(ref $_[0]) } }) { }
148 0 4 unless $checked or is_matrix($data_matrix)
170 7 5 if ($tmi > $#{$$s{'rows'};})
172 3 4 if ($Vmode eq 'PULL') { }
4 0 elsif ($Vmode eq 'TILE') { }
0 0 elsif ($Vmode eq 'TRIM') { }
197 36 24 if ($ti > $#$html_cells)
199 24 12 if ($Hmode eq 'PULL') { }
12 0 elsif ($Hmode eq 'TILE') { }
0 0 elsif ($Hmode eq 'TRIM') { }