Branch Coverage

blib/lib/HTML/ElementTable.pm
Criterion Covered Total %
branch 0 180 0.0


line true false branch
24 0 0 unless @_
26 0 0 unless defined $maxrow and defined $maxcol
30 0 0 if $maxrow != $self->maxrow
36 0 0 if ref $_ and $_->tag eq 'tr'
38 0 0 if ($maxcol != $self->maxcol)
58 0 0 unless $self->_rows->glob_is_empty
60 0 0 unless $self->_cols->glob_is_empty
69 0 0 unless ref $row
74 0 0 $row->is_empty ? :
76 0 0 unless ref $col
78 0 0 if ($colcnt > $maxcol) { }
99 0 0 unless ref $e
100 0 0 unless defined $limit
101 0 0 unless (defined $old)
104 0 0 if ($limit < $old) { }
0 0 elsif ($limit > $old) { }
112 0 0 unless ref $_
114 0 0 if ($i == $limit)
118 0 0 if $found
126 0 0 if ($e->tag eq 'table') { }
128 0 0 if ($self->maxcol != -1)
146 0 0 if defined $maxrow
147 0 0 $self->_rows->glob_is_empty ? :
152 0 0 if defined $maxcol
153 0 0 $self->_cols->glob_is_empty ? :
162 0 0 unless defined $r and defined $c
164 0 0 if $row->glob_is_empty
165 0 0 if ($#{$row->glob_content;} < $c or $c < 0)
170 0 0 unless @elements
171 0 0 @elements > 1 ? :
176 0 0 unless @_
178 0 0 if @out
179 0 0 @_ > 1 ? :
185 0 0 unless @_
187 0 0 if (@out)
190 0 0 @_ > 1 ? :
197 0 0 unless defined $r1 and defined $c1 and defined $r2 and defined $c2
200 0 0 if $r2 < $r1
201 0 0 if $c2 < $c1
203 0 0 if ($c1 == 0 and $c2 == $self->maxcol)
226 0 0 if defined $mode
244 0 0 if @_
256 0 0 if @_
279 0 0 unless defined $row and defined $col
280 0 0 unless defined $span
281 0 0 $attr eq 'colspan' ? :
282 0 0 unless $span
284 0 0 unless $oldspan
285 0 0 if $span == $oldspan
287 0 0 unless $ospan
289 0 0 $span > $oldspan ? :
290 0 0 if $oldspan > $span
292 0 0 $attr eq 'colspan' ? :
295 0 0 if $d == $dim and $o == $odim
307 0 0 if (defined $mode)
319 0 0 if (defined $mode)
336 0 0 if ($attr =~ /^maxrow/) { }
0 0 elsif ($attr =~ /^maxcol/) { }
369 0 0 unless ref $tree
370 0 0 unless $tree->tag eq 'table'
380 0 0 unless UNIVERSAL::isa($row, 'HTML::Element')
384 0 0 if ($tag eq 'tbody' or $tag eq 'thead' or $tag eq 'tfoot')
388 0 0 if ($tag eq 'tr')
392 0 0 if (UNIVERSAL::isa($cell, 'HTML::Element') and $cell->tag eq 'td' || $cell->tag eq 'th')
397 0 0 if $#cells > $maxcol
407 0 0 if $@
426 0 0 if $DEBUG
429 0 0 $$grid_row[$c] ? :
0 0 if $DEBUG
430 0 0 if ($$grid_row[$c]) { }
440 0 0 if $DEBUG
441 0 0 unless $#$content == $#$grid_row
448 0 0 if $DEBUG > 1
489 0 0 defined $_[0] ? :
495 0 0 if ($self->beautify and not $self->mask)
530 0 0 if (@_)
532 0 0 if (defined $val) { }
533 0 0 if ($attr eq 'colspan') { }
0 0 elsif ($attr eq 'rowspan') { }
542 0 0 if ($attr eq 'colspan' or $attr eq 'rowspan')
555 0 0 @_ ? :
587 0 0 !@c && $self->blank_fill && !$self->mask ? :
596 0 0 @_ ? :
619 0 0 @_ ? :
663 0 0 @_ ? :
697 0 0 if (ref $alias)
706 0 0 if ($self->alias and $TR_ATTRS{lc $_[0]})
716 0 0 if ($self->alias)
725 0 0 if ($self->alias)
734 0 0 @_ ? :