Condition Coverage

blib/lib/CSS/DOM/Rule/Style.pm
Criterion Covered Total %
condition 4 39 10.2


and 3 conditions

line !l l&&!r l&&r condition
79 1 0 84 ref $old eq 'ARRAY' and defined wantarray
132 0 0 0 $types =~ /^di/ and $tokens[0] eq '.'
0 0 0 $types =~ /^\[id']/ and $tokens[2] eq '='
187 0 0 0 @subsel == 1 and not defined $subsel[0]
195 0 0 0 $types =~ /^(s?)d/ and $tokens[$+[1]] =~ /([>+])/
290 0 0 0 defined $tag and $tag ne '*'
299 0 0 0 $type eq ':' and not $id =~ /^(?:first-l(?:ine|etter)|before|after)\z/
305 0 0 0 defined $attr and length $attr
318 0 0 0 $pseudo and lc $id eq lc $pseudo
331 0 0 0 defined $attr and length $attr

or 3 conditions

line l !l&&r !l&&!r condition
229 0 0 0 $specificity || ()
326 0 0 0 defined $attr or length $attr
341 9 105 0 $_[0][2] ||= do { require CSS::DOM::Style; 'CSS::DOM::Style'->new(shift()) }