lib/CSS/Watcher/Parser.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 14 | 18 | 77.7 |
line | true | false | branch |
---|---|---|---|
47 | 1 | 22 | if ($selector =~ /\s*\@media/s) { } |
0 | 22 | elsif ($selector =~ /\s*\@/s) { } | |
48 | 1 | 0 | if ($selector_body =~ /\{(.+)\}/s) |
58 | 0 | 26 | unless ref $_ eq 'ARRAY' |
60 | 17 | 9 | if (exists $rule->{'class'}) |
66 | 10 | 9 | exists $rule->{'element'} ? : |
69 | 9 | 17 | if (exists $rule->{'id'}) |
72 | 2 | 7 | exists $rule->{'element'} ? : |
77 | 0 | 22 | if ($@) |