Branch Coverage

lib/IO/InnerFile.pm
Criterion Covered Total %
branch 20 40 50.0


line true false branch
51 0 2 if not $start or $start < 0
52 0 2 if not $lg or $lg < 0
75 0 4 if ref $self eq 'SCALAR'
162 1 0 if $whence == 0
163 0 1 if $whence == 1
164 0 1 if $whence == 2
166 0 1 if $$self{'CRPOS'} < 0
167 0 1 if $$self{'CRPOS'} > $$self{'LG'}
189 0 0 if $$self{'CRPOS'} >= $$self{'LG'}
204 0 0 unless $lg
205 0 0 $lg ? :
212 0 1 if $$self{'CRPOS'} >= $$self{'LG'}
213 0 1 if $$self{'CRPOS'} + $lg > $$self{'LG'}
214 0 1 unless $lg
227 0 1 unless $lg
233 4 1 unless wantarray
243 2 5 if $$self{'CRPOS'} >= $$self{'LG'}
246 1 4 unless (defined $/)
263 0 4 unless (defined $text)
270 0 4 if $$self{'CRPOS'} + $lg > $$self{'LG'}