Branch Coverage

blib/lib/Plack/Middleware/CSS/Compressor.pm
Criterion Covered Total %
branch 6 12 50.0


line true false branch
20 1 0 unless (defined $suffix)
25 0 1 ref $suffix ? :
38 2 1 unless ($$env{'PATH_INFO'} =~ s/\A (.*) $suffix ([.]css) \z/$1$2/x)
47 0 1 unless (ref $res eq 'ARRAY')
55 1 0 if ($$res[0] == 200 and $ct and $ct =~ m[\A text/css \b]x) { }
0 0 elsif ($$res[0] == 404) { }