| blib/lib/Data/ParseBinary/Stream/String.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 12 | 14 | 85.7 |
| line | true | false | branch |
|---|---|---|---|
| 21 | 3 | 356 | if $$self{'location'} + $count > $$self{'length'} |
| 39 | 0 | 29 | if $newpos > $$self{'length'} |
| 62 | 0 | 136 | unless (defined $source) |
| 80 | 7 | 117 | if ($newpos > length ${$$self{'data'};}) { } |
| 90 | 3074 | 486 | if ($$self{'offset'} == 0) |
| 95 | 1 | 485 | if ($$self{'offset'} <= length $data) { } |
| 122 | 132 | 2 | unless defined $source |