Condition Coverage

blib/lib/Mojolicious/Plugin/Webpack.pm
Criterion Covered Total %
condition 8 19 42.1


and 2 conditions

line l !l condition
9 1 0 $ENV{'MOJO_WEBPACK_DEBUG'} && 1

or 2 conditions

line l !l condition
45 0 1 $config->{'asset_path'} ||= '/asset'
49 0 1 $config->{'helper'} || 'asset'
63 0 1 $config->{'cache_control'} // 'max-age=86400'
84 0 1 $config->{'engine'} || 'Mojo::Alien::webpack'
87 1 0 eval "require $engine;$engine->new" || die("Could not load engine ${engine}: $@")
90 0 1 $config->{'process'} || ['js']
104 1 0 $asset->{'helper'} || 'url_for'

or 3 conditions

line l !l&&r !l&&!r condition
36 0 0 0 $self->{'asset_map'}{$name} ||= $asset_map{'development'}{$name}