Condition Coverage

blib/lib/Mojolicious/Plugin/AssetPack/Che.pm
Criterion Covered Total %
condition 8 13 61.5


and 2 conditions

line l !l condition
66 6 3 $asset = $self->{'by_checksum'}{$checksum_gzip} and $c->res->headers->content_encoding('gzip') and 1

and 3 conditions

line !l l&&!r l&&r condition
64 0 1 9 ($c->req->headers->accept_encoding // '') =~ /gzip/iu and my $asset = $self->{'by_checksum'}{$checksum}
66 6 0 3 $asset = $self->{'by_checksum'}{$checksum_gzip} and $c->res->headers->content_encoding('gzip')
0 0 3 $asset = $self->{'by_checksum'}{$checksum_gzip} and $c->res->headers->content_encoding('gzip') and 1 and $self->store->serve_asset($c, $asset)

or 2 conditions

line l !l condition
64 10 0 $c->req->headers->accept_encoding // ''