Branch Coverage

blib/lib/HashDataRole/Source/LinesInDATA.pm
Criterion Covered Total %
branch 17 24 70.8


line true false branch
19 1 1 if (defined ${"${class}::_HashData_fhpos_data_begin_cache";}) { }
36 1 17 if eof $self->{'fh'}
39 0 17 unless my($key, $value) = split(/\Q$self->{'separator'}\E/, $line, 2)
67 5 1 if defined ${"${class}::_HashData_pos_cache";}
87 3 1 if defined ${"${class}::_HashData_hash_cache";}
103 0 3 if ($pos < 0) { }
104 0 0 unless -$pos <= @{$pos_cache;}
106 1 2 unless $pos < @{$pos_cache;}
121 0 3 if ($pos < 0) { }
122 0 0 -$pos <= @{$pos_cache;} ? :
124 2 1 $pos < @{$pos_cache;} ? :
132 1 1 unless exists $hash_cache->{$key}