line |
true |
false |
branch |
60
|
33 |
267 |
if defined $value |
97
|
1 |
34 |
defined $params->{'warns_as_errors'} && $params->{'warns_as_errors'} ? : |
129
|
0 |
0 |
unless ($params and $params->{'filename'}) |
133
|
0 |
0 |
unless open FILE, '<', $params->{'filename'} |
165
|
0 |
33 |
unless (exists $params->{'css'}) |
169
|
32 |
1 |
if ($params and $params->{'css'}) { } |
178
|
6 |
188 |
if ($token =~ /^\s*\@[\w-]+\s+(?:url\()?"/) { } |
|
2 |
186 |
elsif ($token =~ /^\s*(\@[\w-]+)\s+{\s*([^{]*)}$/) { } |
|
11 |
175 |
elsif ($token =~ /^\s*\@/) { } |
|
175 |
0 |
elsif ($token =~ /^\s*([^{]+?)\s*{\s*(.*)}\s*$/) { } |
202
|
17 |
11 |
if (not $attoken =~ /^\s*\}\s*$/) { } |
226
|
4 |
286 |
if (/^\s*[\*\-\_]/ or /\\/) |
231
|
3 |
283 |
unless (/^\s*([\w._-]+)\s*:\s*(.*?)\s*$/) |
279
|
0 |
0 |
unless (exists $params->{'filename'}) |
284
|
0 |
0 |
unless open CSS, '>' . $params->{'filename'} |
310
|
12 |
8 |
if ($rule->{'selector'} and $rule->{'declarations'}) { } |
|
4 |
4 |
elsif ($rule->{'type'} and $rule->{'prelude'} and $rule->{'block'}) { } |
|
3 |
1 |
elsif ($rule->{'type'} and $rule->{'prelude'}) { } |
|
1 |
0 |
elsif ($rule->{'type'} and $rule->{'block'}) { } |
421
|
186 |
0 |
if (exists $params->{'selector'} and exists $params->{'declarations'}) { } |
454
|
19 |
0 |
if (exists $params->{'type'} and exists $params->{'prelude'} and exists $params->{'block'}) { } |
476
|
0 |
601 |
unless ($self and ref $self) |
488
|
1 |
3 |
if ($self->{'warns_as_errors'}) { } |