Branch Coverage

blib/lib/CSS/Minifier.pm
Criterion Covered Total %
branch 33 42 78.5


line true false branch
51 536 16 if ($$s{'inputType'} eq 'file') { }
16 0 elsif ($$s{'inputType'} eq 'string') { }
55 13 3 if ($$s{'inputPos'} < length $$s{'input'}) { }
71 247 9 if (defined $$s{'outfile'}) { }
118 0 2 if ($$s{'last'} ne $delimiter)
119 0 0 $delimiter eq q['] ? :
132 0 1 if (isEndspace($$s{'a'}) or isEndspace($$s{'b'}))
152 4 7 if (defined $$s{'a'} and defined $$s{'b'} and not isPostfix($$s{'b'}))
168 1 2 if (defined $ref and ref $ref eq 'SCALAR') { }
177 1 2 unless (defined $$s{'outfile'})
182 0 3 if ($$s{'copyright'})
200 0 236 if (isWhitespace($$s{'a'}))
205 5 231 if ($$s{'a'} eq '/' and defined $$s{'b'} and $$s{'b'} eq '*') { }
2 229 elsif ($$s{'a'} eq q['] or $$s{'a'} eq '"') { }
40 189 elsif (isPrefix($$s{'a'})) { }
212 1 1 if ($$s{'a'} eq '\\' and defined $$s{'b'} and $$s{'b'} eq '*' and defined $$s{'c'} and $$s{'c'} eq '/' and not $macIeCommentHackFlag)
224 1 2 if ($$s{'a'} ne '\\' and defined $$s{'b'} and $$s{'b'} eq '*' and defined $$s{'c'} and $$s{'c'} eq '/' and $macIeCommentHackFlag)
234 5 0 if (defined $$s{'b'}) { }
245 0 2 if (defined $$s{'a'} and isWhitespace($$s{'a'}))
255 11 178 if (defined $$s{'a'} and isWhitespace($$s{'a'}))
261 1 2 if (not defined $$s{'outfile'})