blib/lib/CSS/Object/Parser/Enhanced.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 0 | 48 | 0.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
35 | 0 | 0 | 0 | $c eq "*" and $next eq "/" |
0 | 0 | 0 | $c eq "/" and $next eq "*" | |
0 | 0 | 0 | not $this->{'inside_statement'} and $c =~ /^[\@\:\[\#\.a-zA-Z0-9]$/ | |
55 | 0 | 0 | 0 | $c =~ /^[[:space:]\h]$/ and not $this->{'inside_quote'} |
0 | 0 | 0 | $c =~ /^[[:space:]\h]$/ and not $this->{'inside_quote'} and $next eq "{" | |
0 | 0 | 0 | $c eq '"' || $c eq q['] and $prev ne "\\" | |
70 | 0 | 0 | 0 | $c eq $this->{'inside_quote'} and $prev ne "\\" |
126 | 0 | 0 | 0 | $c eq q['] || $c eq '"' and $prev ne "\\" |
0 | 0 | 0 | $c eq "{" and $prev ne "\\" | |
200 | 0 | 0 | 0 | $c eq $this->{'inside_quote'} and $prev ne "\\" |
line | l | !l | condition |
---|---|---|---|
27 | 0 | 0 | shift @_ || (return) |
28 | 0 | 0 | $self->css || (return $self->error('Our css object is gone!')) |
117 | 0 | 0 | $self->css || (return $self->error('Our css object is gone!')) |
118 | 0 | 0 | $self->rule_from_token($opts->{'name'}) || (return $self->pass_error) |
154 | 0 | 0 | $self->parse_element({'name', $this->{'prop'}, 'data', $sref, 'pos', $p + 1}) || (return $self->pass_error) |
176 | 0 | 0 | shift @_ || (return $self->error('No token was provided to create associated rule')) |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
55 | 0 | 0 | 0 | $c eq '"' || $c eq q['] |
126 | 0 | 0 | 0 | $c eq q['] || $c eq '"' |