Condition Coverage

lib/HTML/Query.pm
Criterion Covered Total %
condition 31 39 79.4


and 3 conditions

line !l l&&!r l&&r condition
62 116 51 2 @_ == 1 and ref $_[0] eq 'ARRAY'
133 1 1 129 defined $query and length $query
168 276 2 102 $leading_whitespace and $comops
278 96 6 $leading_whitespace and $comops and $query =~ / \G (\*) \s+ /cgx
189 0 4 14 $leading_whitespace || $comops == 0 and $tag eq '*'
206 149 60 1 $comops == 1 and $tag eq 'html'
237 0 0 38 defined $name and length $name
266 0 2 7 defined $attribute and length $attribute

or 2 conditions

line l !l condition
92 12 0 $$SOURCES{$type} || (return $class->error_msg('bad_source', $type))
144 7 129 pos $query || 0
155 251 129 pos $query || 0

or 3 conditions

line l !l&&r !l&&!r condition
65 118 51 0 ref $class || $class
189 9 9 0 $leading_whitespace || $comops == 0
577 1049 49 0 defined $a[$index] || defined $b[$index]