blib/lib/CSS/Adaptor/Whitelist.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 13 | 20 | 65.0 |
line | true | false | branch |
---|---|---|---|
28 | 5 | 0 | if ($str =~ /^$re1(.*)/) |
30 | 1 | 4 | if (length $rest == 0) { } |
4 | 0 | elsif ($rest =~ s/^\s+//) { } | |
63 | 0 | 0 | if (ref $new_re ne 'Regexp') { } |
261 | 0 | 10 | if ($value eq 'inherit') |
263 | 9 | 1 | if (ref $w eq 'Regexp') { } |
0 | 1 | elsif (ref $w eq 'HASH') { } | |
1 | 0 | elsif (ref $w eq 'CODE') { } | |
287 | 10 | 1 | if ($whitelist{$property}) { } |
289 | 9 | 1 | if (value_ok($values, $property)) { } |