Branch Coverage

blib/lib/Plack/Middleware/Static/Minifier.pm
Criterion Covered Total %
branch 14 14 100.0


line true false branch
19 8 3 if ($res and $res->[0] == 200)
21 6 2 if (not defined $h->get("Content-Encoding") and $h->get("Content-Type") and $h->get("Content-Type") =~ m[/(css|javascript)])
27 2 4 if ($self->cache) { }
29 1 1 if (my $cache = $self->cache->get($key)) { }
45 9 2 if ($res and not $self->pass_through && $res->[0] == 404)
55 1 4 if ($self->no_minify) { }
59 3 1 $ct =~ /^css/ ? :