Branch Coverage

blib/lib/Test2/Harness/Util/File/Stream.pm
Criterion Covered Total %
branch 9 14 64.2


line true false branch
20 7 3 unless defined $pos
25 10 0 unless defined $line or defined $spos or defined $epos
27 14 12 unless $params{'peek'} or defined $params{'from'}
55 0 7 if $self->{'use_write_lock'}
61 0 7 if $self->{'use_write_lock'}
63 0 7 unless close $fh
75 0 1 unless CORE::seek $fh, $pos, 0