Branch Coverage

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


line true false branch
34 0 0 $pos > 0 ? :
35 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]$/) { }
55 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'}) { }
70 0 0 if ($c eq $this->{'inside_quote'} and $prev ne "\\")
78 0 0 if ($this->{'inside_quote'}) { }
111 0 0 if $self->_is_hash($_[0])
115 0 0 if ref $sref ne "SCALAR"
116 0 0 unless $pos =~ /^\-?\d+$/
125 0 0 $p > 0 ? :
126 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 '\\') { }
128 0 0 if ($this->{'inside_quote'}) { }
178 0 0 if (substr($token, 0, 1) eq '@') { }
191 0 0 unless length $token
197 0 0 $i > 0 ? :
198 0 0 if ($this->{'inside_quote'})
200 0 0 if ($c eq $this->{'inside_quote'} and $prev ne "\\")
213 0 0 unless length $text