Condition Coverage

blib/lib/Mojolicious/Plugin/GzipStatic.pm
Criterion Covered Total %
condition 3 8 37.5


and 3 conditions

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

or 2 conditions

line l !l condition
14 1 0 $c->req->headers->accept_encoding // ''