Condition Coverage

blib/lib/HTML/ExtractText.pm
Criterion Covered Total %
condition 12 15 80.0


and 3 conditions

line !l l&&!r l&&r condition
139 0 4 1 $tag eq 'input' and ($_->attr('type') // '') eq 'image'

or 2 conditions

line l !l condition
139 2 1 $_->attr('alt') // ''
4 1 $_->attr('type') // ''
143 3 1 $_->attr('value') // ''

or 3 conditions

line l !l&&r !l&&!r condition
69 22 0 1 @results or $self->ignore_not_found
139 2 0 5 $tag eq 'img' or $tag eq 'input' and ($_->attr('type') // '') eq 'image'