Condition Coverage

blib/lib/HTML/Lint/Parser.pm
Criterion Covered Total %
condition 26 30 86.6


and 3 conditions

line !l l&&!r l&&r condition
237 3 11 1 $directive ne 'all' and not exists $HTML::Lint::Error::errors{$directive}
384 7 0 36 defined $h and defined $w
401 0 1 9 defined $type and lc $type eq 'image'

or 3 conditions

line l !l&&r !l&&!r condition
188 3 1 0 $HTML::Lint::Parser::char2entity{$bad} || '&#' . ord($bad) . ';'
199 3 2 1 exists $self->{'_entity_lookup'}{$match} or $match =~ /^#(\d+)$/
5 0 1 exists $self->{'_entity_lookup'}{$match} or $match =~ /^#(\d+)$/ or $match =~ /^#x[\dA-F]+$/i
285 1 3 10 $what eq '1' or $what eq 'on'
4 1 9 $what eq '1' or $what eq 'on' or $what eq 'true'
286 1 6 2 $what eq '0' or $what eq 'off'
7 1 1 $what eq '0' or $what eq 'off' or $what eq 'false'