blib/lib/CSS/Scopifier.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 11 | 16 | 68.7 |
line | true | false | branch |
---|---|---|---|
16 | 0 | 7 | ref $arg[0] ? : |
18 | 0 | 7 | unless $selector and not ref $selector |
24 | 1 | 6 | if ($opt{'merge'}) |
25 | 1 | 0 | ref $opt{'merge'} ? : |
35 | 1 | 6 | if $root_sel |
42 | 18 | 2 | ref $_[0] ? : |
51 | 0 | 18 | unless (/^\s*([^{]+?)\s*\{(.*)\}\s*$/) |
64 | 0 | 31 | unless (/^\s*(\*?[\w._-]+)\s*:\s*(.*?)\s*$/) |