blib/lib/CSS/Tidy.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 11 | 20 | 55.0 |
line | true | false | branch |
---|---|---|---|
28 | 0 | 0 | unless ($in) |
33 | 0 | 0 | unless ($out) |
72 | 0 | 8 | if ($decomment) { } |
103 | 0 | 74 | if (/^\s*(.*)\{(.*?)\}(.*)$/) |
117 | 0 | 10 | if ($depth < 0) |
122 | 74 | 0 | if (/^(\s*)/) |
125 | 45 | 29 | if (length $initial != $depth * 4) |
129 | 69 | 1 | unless (/(?:\.|#)\w+.*?:/ or /^\s*:+/) |
135 | 10 | 64 | if (/\{/) |
157 | 8 | 0 | unless ($decomment) |