blib/lib/Mojolicious/Plugin/GzipStatic.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 3 | 8 | 37.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
14 | 0 | 0 | 1 | defined $type and $type =~ /text|xml|javascript|json/ |
0 | 0 | 1 | defined $type and $type =~ /text|xml|javascript|json/ and ($c->req->headers->accept_encoding // '') =~ /gzip/i |
line | l | !l | condition |
---|---|---|---|
14 | 1 | 0 | $c->req->headers->accept_encoding // '' |