Condition Coverage

blib/lib/HTML/Restrict.pm
Criterion Covered Total %
condition 19 24 79.1


and 3 conditions

line !l l&&!r l&&r condition
136 14 4 4 $tagname eq 'img' and $self->replace_img
217 160 0 0 exists $attr->{'/'} and $attr->{'/'} eq '/'
321 1 9 179 $self->trim and $text
344 2 1 4 $tag eq $closing_tag and $found == 0

or 2 conditions

line l !l condition
225 3 157 $self->_processed || ''
237 0 4 $self->_processed || ''
256 159 0 $self->_processed || ''
272 162 16 $self->_processed || ''
283 1 1 $self->_processed || ''
294 0 2 $self->_processed || ''