Branch Coverage

blib/lib/Text/Table/HTML.pm
Criterion Covered Total %
branch 22 24 91.6


line true false branch
19 0 11 unless my $rows = $params{'rows'}
26 1 10 if (defined $params{'caption'})
38 3 20 if ($header_row) { }
10 10 elsif ($needs_tbody) { }
41 2 1 if ($needs_thead)
61 8 34 if (ref $cell eq 'HASH') { }
69 1 7 if (defined $cell->{'raw_html'}) { }
76 1 7 if $rowspan > 1
79 1 7 if $colspan > 1
81 0 8 if defined $cell->{'align'}
96 2 21 if ($header_row and $header_row-- == 1)
101 1 10 if $needs_tbody