Condition Coverage

blib/lib/NetHack/NAOdash.pm
Criterion Covered Total %
condition 10 24 41.6


and 3 conditions

line !l l&&!r l&&r condition
105 167 3 82 %include and not $include{$game{'version'}}
130 0 0 0 $ENV{'NAODASH_CACHE'} and lc $ENV{'NAODASH_CACHE'} eq 'none'

or 2 conditions

line l !l condition
92 1 2 $args{'exclude_versions'} // []
93 1 2 $args{'include_versions'} // []
132 0 0 mkdir $dir or die "Cannot create cache directory: $!\n"

or 3 conditions

line l !l&&r !l&&!r condition
74 150 0 0 $game{$attr} // ()
105 3 0 252 $exclude{$game{'version'}} or %include and not $include{$game{'version'}}
131 0 0 0 $ENV{'NAODASH_CACHE'} || catdir(tmpdir(), 'naodash')
134 0 0 0 not -f $file or time - (stat $file)[9] >= 86400