Branch Coverage

blib/lib/CSS/Object/Parser/Enhanced.pm
Criterion Covered Total %
branch 0 54 0.0


line true false branch
36 0 0 $pos > 0 ? :
37 0 0 if ($c eq '*' and $next eq '/') { }
0 0 elsif ($c eq '/' and $next eq '*') { }
0 0 elsif ($this->{'inside_comment'}) { }
0 0 elsif ($this->{'inside_statement'}) { }
0 0 elsif (not $this->{'inside_statement'} and $c =~ /^[\@\:\[\#\.a-zA-Z0-9]$/) { }
57 0 0 if ($c =~ /^[[:space:]\h]$/ and not $this->{'inside_quote'} and $next eq '{') { }
0 0 elsif ($this->{'inside_quote'}) { }
0 0 elsif ($c eq '"' || $c eq q['] and $prev ne '\\') { }
0 0 elsif ($this->{'inside_quote'}) { }
72 0 0 if ($c eq $this->{'inside_quote'} and $prev ne "\\")
80 0 0 if ($this->{'inside_quote'}) { }
113 0 0 if $self->_is_hash($_[0])
117 0 0 if ref $sref ne "SCALAR"
118 0 0 unless $pos =~ /^\-?\d+$/
127 0 0 $p > 0 ? :
128 0 0 if ($c eq q['] || $c eq '"' and $prev ne '\\') { }
0 0 elsif ($this->{'inside_quote'}) { }
0 0 elsif (not length $this->{'prop'}) { }
0 0 elsif ($c eq '{' and $prev ne '\\') { }
130 0 0 if ($this->{'inside_quote'}) { }
180 0 0 if (substr($token, 0, 1) eq '@') { }
193 0 0 unless length $token
199 0 0 $i > 0 ? :
200 0 0 if ($this->{'inside_quote'})
202 0 0 if ($c eq $this->{'inside_quote'} and $prev ne "\\")
215 0 0 unless length $text