Condition Coverage

blib/lib/HTML/DOM/Element/Table.pm
Criterion Covered Total %
condition 36 44 81.8


and 3 conditions

line !l l&&!r l&&r condition
17 2 5 6 $old and $old->tag eq 'caption'
193 1 1 3 $ix < $len and $ix >= 0
400 1 1 2 $ix < $len and $ix >= 0
482 1 1 2 $ix < $len and $ix >= 0

or 2 conditions

line l !l condition
20 4 0 eval { do { $new->tag } } || ''
40 3 0 eval { do { $new->tag } } || ''
65 3 0 eval { do { $new->tag } } || ''
143 1 0 $self->tHead || (return)
167 1 0 $self->tFoot || (return)
183 1 0 $self->caption || (return)
224 2 0 $self->rows->item(shift()) || (return)
397 5 2 shift() || 0
479 5 1 shift() || 0
505 1 0 $self->cells->item(shift()) || (return)

or 3 conditions

line l !l&&r !l&&!r condition
31 6 2 4 $old || ()
193 1 1 5 $ix == -1 or $ix == $len
400 1 1 4 $ix == -1 or $ix == $len
482 1 1 4 $ix == -1 or $ix == $len