blib/lib/Plack/Middleware/Static/Minifier.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 12 | 15 | 80.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
19 | 1 | 2 | 7 | $res and $$res[0] == 200 |
21 | 0 | 0 | 7 | not defined $h->get('Content-Encoding') and $h->get('Content-Type') |
0 | 2 | 5 | not defined $h->get('Content-Encoding') and $h->get('Content-Type') and $h->get('Content-Type') =~ m[/(css|javascript)] | |
45 | 7 | 1 | 1 | $self->pass_through && $$res[0] == 404 |
1 | 1 | 8 | $res and not $self->pass_through && $$res[0] == 404 |