Branch Coverage

blib/lib/Paranoid/IO/Line.pm
Criterion Covered Total %
branch 59 66 89.3


line true false branch
102 67 2 if (defined($fh = popen($file, 0))) { }
106 59 8 if (@fhstat and $fpos < $fhstat[7]) { }
118 7 1 if (scalar @fstat) { }
121 1 6 if ($fhstat[1] != $fstat[1]) { }
125 1 5 if ($fstat[7] < $fpos) { }
182 5 64 unless _chkStat($file)
185 21 48 if (exists $buffers{$file}) { }
198 0 231 $noLocks ? :
199 228 3 if (defined $irv) { }
202 51 177 if $irv < PIOBLKSIZE()
210 66 3 if ($rv)
212 61 5 if (length $content) { }
220 4 57 if (not $bflag and $content =~ /@{[\undef];}/so)
228 58 3 if ($content =~ /@{[\undef];}/so) { }
233 1 2285 if (length $tmp[0] > PIOMAXLNSIZE()) { }
245 1 57 if ($rv != scalar @$aref)
254 13 45 if (scalar @tmp) { }
257 4 9 if (length $tmp[0] > PIOMAXLNSIZE()) { }
278 1 2 if (length $content > PIOMAXLNSIZE()) { }
299 7 62 if defined $rv and $rv == 0
306 39 1 if $doChomp and scalar @$aref
354 6 3 if (_chkBuffer($file)) { }
366 0 3 unless $ofsb < 0
371 3 0 if popen($file, 0)
376 3 6 if ($offset) { }
380 0 11 $noLocks ? :
387 3 0 if (scalar @$aref > abs $offset)
391 0 3 unless $rv
396 0 6 $noLocks ? :
441 2 40 if (ref $file eq 'GLOB') { }
442 1 1 if fileno $file
446 1 41 if (scalar @fstat and $fstat[7] > PIOMAXFSIZE())
452 39 3 if defined $rv