Branch Coverage

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


line true false branch
102 98 4 if (defined($fh = popen($file, 0))) { }
106 82 16 if (@fhstat and $fpos < $fhstat[7]) { }
118 14 2 if (scalar @fstat) { }
121 2 12 if ($fhstat[1] != $fstat[1]) { }
125 2 10 if ($fstat[7] < $fpos) { }
182 10 92 unless _chkStat($file)
185 42 60 if (exists $buffers{$file}) { }
198 0 427 $noLocks ? :
199 421 6 if (defined $irv) { }
202 66 355 if $irv < PIOBLKSIZE()
210 96 6 if ($rv)
212 86 10 if (length $content) { }
220 8 78 if (not $bflag and $content =~ m[@{[qr/(?:\15\12|\15|\12)/s];}]so)
228 80 6 if ($content =~ /@{[\undef];}/so) { }
233 2 3328 if (length $tmp[0] > PIOMAXLNSIZE()) { }
245 2 78 if ($rv != scalar @$aref)
254 26 54 if (scalar @tmp) { }
257 8 18 if (length $tmp[0] > PIOMAXLNSIZE()) { }
278 2 4 if (length $content > PIOMAXLNSIZE()) { }
299 14 88 if defined $rv and $rv == 0
306 42 2 if $doChomp and scalar @$aref
354 12 6 if (_chkBuffer($file)) { }
366 0 6 unless $ofsb < 0
371 6 0 if popen($file, 0)
376 6 12 if ($offset) { }
380 0 22 $noLocks ? :
387 6 0 if (scalar @$aref > abs $offset)
391 0 6 unless $rv
396 0 12 $noLocks ? :
441 4 44 if (ref $file eq 'GLOB') { }
442 2 2 if fileno $file
446 2 46 if (scalar @fstat and $fstat[7] > PIOMAXFSIZE())
452 42 6 if defined $rv