Condition Coverage

blib/lib/HTML/TableExtract.pm
Criterion Covered Total %
condition 59 109 54.1


and 3 conditions

line !l l&&!r l&&r condition
93 314 0 62 exists $parms{$_} && defined $parms{$_}
124 0 0 93 not TREE() and $$ts{'in_cell'}
136 90 0 3 $_[0] eq 'br' and $$self{'br_translate'}
168 90 0 0 $$self{'keep_html'} and $$ts{'in_cell'}
188 0 0 9322 $$self{'decode'} and not $$self{'keep_html'}
237 0 0 0 $$self{'_tables'}{$depth} and $$self{'_tables'}{$depth}{$count}
514 9312 0 0 @res and ref $res[0]
605 0 7 4 exists $$self{'counts'}[$$self{'depth'}] and $$self{'tcount'} == $$self{'counts'}[$$self{'depth'}]
628 15 0 0 $$self{'debug'} > 3 and $a_hit
648 631 0 0 $$self{'keep_html'} and $$self{'strip_html_on_match'}
657 0 0 0 $$self{'keep_html'} || TREE() and $$self{'strip_html_on_match'}
705 28 0 0 $$self{'debug'} and @hits
719 7 7 67 $self->_check_dtrigger and $self->_check_ctrigger
14 10 57 $self->_check_dtrigger and $self->_check_ctrigger and $self->_check_atrigger
910 0 96 128 $$self{'automap'} and $self->_map_makes_a_difference
975 0 0 3 $$self{'automap'} and $self->_map_makes_a_difference
1108 984 0 0 $row_spinner[-1] and $col_spinner[-1]
1172 3 6609 870 $col + $row_spinner[-1] < $#$current_row and $row_added
6612 0 870 $col + $row_spinner[-1] < $#$current_row and $row_added and not $rspin_propogate

or 2 conditions

line l !l condition
130 6 9306 $attrs{'rowspan'} || 1
131 9 9303 $attrs{'colspan'} || 1
203 310 23 $$self{'_parsing'} ||= 1
304 111 0 $args[1] || {}
500 54 57 $pts || undef
578 36 20 $$template[$r][$c] || (next)
769 6 9306 $attrs{'rowspan'} || 1
770 9 9303 $attrs{'colspan'} || 1
831 54 111 $$self{'lineage'} ||= []
872 0 0 $cols[$c] ||= []
1045 0 0 $col_sep ||= ':'

or 3 conditions

line l !l&&r !l&&!r condition
73 0 23 0 ref $that || $that
124 9312 0 93 $_[0] eq 'td' or $_[0] eq 'th'
158 9312 0 1185 $_[0] eq 'td' or $_[0] eq 'th'
324 15 0 96 defined $$self{'depth'} or defined $$self{'count'}
5 0 91 defined $$self{'depth'} or defined $$self{'count'} or $$self{'attribs'}
15 0 76 defined $$self{'depth'} or defined $$self{'count'} or $$self{'attribs'} or $$self{'headers'}
463 0 111 0 ref $that || $that
526 1 2 0 $$self{'gridalias'} ||= $self->_make_gridalias
657 0 0 0 $$self{'keep_html'} || TREE()
1234 0 0 0 $$self{'_htes_inside'}{'script'} or $$self{'_htes_inside'}{'style'}