Condition Coverage

blib/lib/Mojolicious/Plugin/AssetPack.pm
Criterion Covered Total %
condition 19 30 63.3


and 3 conditions

line !l l&&!r l&&r condition
100 7 2 1 $2 eq "!=" and $v eq $3
101 2 3 4 $2 ne "!=" and $v ne $3

or 2 conditions

line l !l condition
61 1 20 $config->{'helper'} || 'asset'
68 0 21 ($ENV{'MOJO_ASSETPACK_LAZY'} // $config->{'lazy'}) || 0
73 1 20 $config->{'proxy'} // {}
80 21 0 $config->{'pipes'} || []
158 0 8 shift() || 'assetpack.def'
190 1 79 $route->pattern->defaults->{'base_url'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
68 0 0 21 $self->{'lazy'} ||= ($ENV{'MOJO_ASSETPACK_LAZY'} // $config->{'lazy'}) || 0
74 0 20 0 $proxy->{'no_proxy'} || join(',', grep({$_;} $ENV{'NO_PROXY'}, $ENV{'no_proxy'}, '127.0.0.1', '::1', 'localhost'))
145 0 0 0 $_->{'tag_for'} or $_->{'tag_for'} = $tag_for
189 72 8 0 $self->{'by_topic'}{$topic} ||= $self->_static_asset($topic)