| blib/lib/HashDataRole/Source/LinesInDATA.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 15 | 22 | 68.1 |
| line | true | false | branch |
|---|---|---|---|
| 29 | 1 | 16 | if eof $self->{'fh'} |
| 32 | 0 | 16 | unless my($key, $value) = split(/:/, $line, 2) |
| 60 | 5 | 1 | if defined ${"${class}::_HashData_pos_cache";} |
| 80 | 3 | 1 | if defined ${"${class}::_HashData_hash_cache";} |
| 96 | 0 | 3 | if ($pos < 0) { } |
| 97 | 0 | 0 | unless -$pos <= @{$pos_cache;} |
| 99 | 1 | 2 | unless $pos < @{$pos_cache;} |
| 114 | 0 | 3 | if ($pos < 0) { } |
| 115 | 0 | 0 | -$pos <= @{$pos_cache;} ? : |
| 117 | 2 | 1 | $pos < @{$pos_cache;} ? : |
| 125 | 1 | 1 | unless exists $hash_cache->{$key} |