| blib/lib/NetHack/NAOdash.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 8 | 22 | 36.3 |
| line | true | false | branch |
|---|---|---|---|
| 73 | 700 | 150 | unless won_game(%game) |
| 91 | 2 | 1 | if ref $_[0] eq 'HASH' |
| 103 | 0 | 7395 | if $game{$_} eq '' |
| 105 | 85 | 170 | if $exclude{$game{'version'}} or %include and not $include{$game{'version'}} |
| 106 | 0 | 170 | if $game{'flags'} & 3 |
| 124 | 0 | 0 | unless $ret->{'success'} |
| 130 | 0 | 0 | if $ENV{'NAODASH_CACHE'} and lc $ENV{'NAODASH_CACHE'} eq 'none' |
| 132 | 0 | 0 | unless -d $dir |
| 134 | 0 | 0 | if not -f $file or time - (stat $file)[9] >= 86400 |
| 140 | 0 | 0 | if ref $_[0] eq 'HASH' |
| 143 | 0 | 0 | unless defined $xlog |