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
94 314 0 62 exists $parms{$_} && defined $parms{$_}
124 0 93 0 not TREE() and $ts->{'in_cell'}
136 90 3 0 $_[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}
515 9312 0 0 @res and ref $res[0]
607 0 7 4 exists $self->{'counts'}[$self->{'depth'}] and $self->{'tcount'} == $self->{'counts'}[$self->{'depth'}]
629 15 0 0 $self->{'debug'} > 3 and $a_hit
649 631 0 0 $self->{'keep_html'} and $self->{'strip_html_on_match'}
658 0 0 0 $self->{'keep_html'} || TREE() and $self->{'strip_html_on_match'}
706 28 0 0 $self->{'debug'} and @hits
720 7 7 67 $self->_check_dtrigger and $self->_check_ctrigger
14 10 57 $self->_check_dtrigger and $self->_check_ctrigger and $self->_check_atrigger
911 0 96 128 $self->{'automap'} and $self->_map_makes_a_difference
976 0 0 3 $self->{'automap'} and $self->_map_makes_a_difference
1109 984 0 0 $row_spinner[-1] and $col_spinner[-1]
1173 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] || {}
501 54 57 $pts || undef
579 36 20 $template->[$r][$c] || (next)
770 6 9306 $attrs{'rowspan'} || 1
771 9 9303 $attrs{'colspan'} || 1
832 54 111 $self->{'lineage'} ||= []
873 0 0 $cols[$c] ||= []
1046 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'}
464 0 111 0 ref $that || $that
527 1 2 0 $self->{'gridalias'} ||= $self->_make_gridalias
658 0 0 0 $self->{'keep_html'} || TREE()
1235 0 0 0 $self->{'_htes_inside'}{'script'} or $self->{'_htes_inside'}{'style'}