Branch Coverage

blib/lib/Mojolicious/Plugin/AssetPack/Che.pm
Criterion Covered Total %
branch 13 26 50.0


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