| blib/lib/Games/Roguelike/Console/Dump.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 11 | 20 | 55.0 |
| line | true | false | branch |
|---|---|---|---|
| 37 | 0 | 3 | unless $pkg |
| 50 | 3 | 0 | if ($opt{'file'}) |
| 56 | 0 | 3 | unless $$self{'out'} = $opt{'out'} |
| 67 | 2 | 0 | if ($$self{'out'}) |
| 91 | 0 | 2163 | if (@_ == 0) { } |
| 2163 | 0 | elsif (@_ == 2) { } | |
| 121 | 6 | 54 | unless $$self{'buf'}[$y] |
| 122 | 0 | 54 | if $$self{'cur'}[$y] and join('', @{$$self{'buf'}[$y];}) eq join('', @{$$self{'cur'}[$y];}) |
| 130 | 0 | 3 | unless $cc > 0 |
| 154 | 3 | 0 | if ($$self{'cbuf'}) |