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