blib/lib/CSS/DOM/PropertyParser.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 27 | 36 | 75.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
55 | 1279 | 0 | 135 | exists $p->{'properties'} and $p->{'properties'} |
93 | 1182 | 15 | 6 | exists $spec->{'special_values'} and $types eq 'i' |
1197 | 0 | 6 | exists $spec->{'special_values'} and $types eq 'i' and exists $spec->{'special_values'}{$CSS::DOM::PropertyParser::prepped->[0]} | |
101 | 471 | 720 | 6 | $types eq 'i' and $CSS::DOM::PropertyParser::prepped->[0] eq 'inherit' |
160 | 122 | 0 | 393 | $subprops and exists $subprops->{$_} |
163 | 173 | 0 | 273 | $Match[$c] and length $Match[$c][0] |
195 | 905 | 0 | 90 | exists $spec->{'list'} && $spec->{'list'} |
228 | 1261 | 73 | 0 | @valtypes != 1 and $valtypes[0] != 23 || do { BEGIN {${^WARNING_BITS} = "\x54\x55\x55\x55\x55\x55\x55\x55\x54\x55\x51\x54\x40\x55\x55\x55\x55\x05"} my $found; foreach $_ (@valtypes[1 ... $#valtypes - 1]) { ++$found, last if $_ == -1; }; $found } |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
134 | 656 | 13 | 0 | $compiled{$format} ||= _compile_format($format) |
138 | 1088 | 103 | 0 | $compiled{$format} ||= _compile_format($format) |
228 | 64 | 0 | 9 | $valtypes[0] != 23 || do { BEGIN {${^WARNING_BITS} = "\x54\x55\x55\x55\x55\x55\x55\x55\x54\x55\x51\x54\x40\x55\x55\x55\x55\x05"} my $found; foreach $_ (@valtypes[1 ... $#valtypes - 1]) { ++$found, last if $_ == -1; }; $found } |
292 | 12 | 6 | 1016 | $type == 1 || $type == 2 || $type == 3 || $type == 4 || $type == 5 || $type == 6 || $type == 7 || $type == 8 || $type == 9 || $type == 10 || $type == 11 || $type == 12 || $type == 13 || $type == 14 || $type == 15 || $type == 16 || $type == 17 |