Branch Coverage

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


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