Branch Coverage

blib/lib/Mojolicious/Plugin/AssetPack/Che.pm
Criterion Covered Total %
branch 14 26 53.8


line true false branch
23 0 3 if $config->{'default_headers'}
27 0 0 ref $process->{$_} eq 'ARRAY' ? :
3 0 ref $process eq 'ARRAY' ? :
0 3 ref $process eq 'HASH' ? :
6 0 ref $_ eq 'ARRAY' ? :
37 3 3 unless $self->{'route_added'}++
38 0 6 unless @input
43 0 12 if (my $nested = $self->processed($url))
47 0 12 &Scalar::Util::blessed($url) ? :
48 0 12 unless &Scalar::Util::blessed($asset)
52 0 6 if $self->{'lazy'}
64 9 1 if (($c->req->headers->accept_encoding // '') =~ /gzip/iu and my $asset = $self->{'by_checksum'}{$checksum})
66 3 0 if $asset = $self->{'by_checksum'}{$checksum_gzip} and $c->res->headers->content_encoding('gzip') and 1 and $self->store->serve_asset($c, $asset)