Branch Coverage

blib/lib/Data/TableReader/Decoder/HTML.pm
Criterion Covered Total %
branch 34 58 58.6


line true false branch
36 0 114 if $ignore_all
38 6 108 if ($tagname eq 'TABLE') { }
18 90 elsif ($tagname eq 'TR') { }
81 9 elsif ($tagname eq 'TD' or $tagname eq 'TH') { }
39 0 6 if ($cur_table) { }
49 0 18 unless $cur_table
50 0 18 if $cur_row
54 0 81 unless $cur_table
55 0 81 unless $cur_row
56 0 81 if $cur_cell
63 81 48 if ($cur_cell) { }
0 96 elsif ($cur_row and $text =~ /\S/) { }
72 0 114 if ($ignore_all) { }
81 33 elsif ($tagname eq 'TD' or $tagname eq 'TH') { }
18 15 elsif ($tagname eq 'TR') { }
6 9 elsif ($tagname eq 'TABLE') { }
73 0 0 if ($tagname eq 'TABLE')
75 0 0 if $nested_tables <= 0
79 0 81 unless $cur_cell
83 0 18 unless $cur_row
84 0 18 if $cur_cell
89 0 6 unless $cur_table
90 0 6 if $cur_row
91 0 6 if $cur_cell
105 0 3 unless $nested_tables == 0
117 0 10 unless my $row = $table->[$row_i]
120 0 10 $_[0] ? :
147 0 2 !$f->{'total_records'} ? :
169 0 1 if ${$f->{'table_i'};} >= @{$f->{'tables'};}