Condition Coverage

blib/lib/Mojolicious/Plugin/GzipStatic.pm
Criterion Covered Total %
condition 4 11 36.3


and 3 conditions

line !l l&&!r l&&r condition
19 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
19 1 0 $c->req->headers->accept_encoding // ''

or 3 conditions

line l !l&&r !l&&!r condition
33 1 0 0 $type || $types->type('txt')