Condition Coverage

blib/lib/Mojolicious/Plugin/StaticCompressor/File.pm
Criterion Covered Total %
condition 11 21 52.3


and 3 conditions

line !l l&&!r l&&r condition
33 0 6 8 defined $$s{'path_file'} and $$s{'is_use_cache'}

or 2 conditions

line l !l condition
19 14 0 $hash{'config'}{'mojo_static'} || die('Not specified mojo_static')
20 14 0 $hash{'config'}{'path_cache_dir'} || die('Not specified path_cache_dir')
21 14 0 $hash{'config'}{'path_single_cache_dir'} || die('Not specified path_single_cache_dir')
24 14 0 $hash{'path_file'} || die('Not specified path_file')
25 14 0 $hash{'extension'} || die('Not specified extension')
26 8 6 $hash{'is_minify'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
101 6 0 0 not defined $$s{'updated_at'} or $$s{'updated_at'} < $updated_at
132 0 0 19 not defined $$s{'updated_at'} or $$s{'updated_at'} < $updated_at