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
142 17 4 4 $tagname eq "img" and $self->replace_img
224 160 0 0 exists $attr->{'/'} and $attr->{'/'} eq "/"
333 1 9 184 $self->trim and $text
356 2 1 4 $tag eq $closing_tag and $found == 0

or 2 conditions

line l !l condition
232 3 157 $self->_processed || ''
246 0 4 $self->_processed || ''
263 159 0 $self->_processed || ''
284 164 21 $self->_processed || ''
295 1 1 $self->_processed || ''
306 0 2 $self->_processed || ''