Branch Coverage

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


line true false branch
101 98 4 if (defined($fh = popen($file, 0))) { }
105 82 16 if (@fhstat and $fpos < $fhstat[7]) { }
117 14 2 if (scalar @fstat) { }
120 2 12 if ($fhstat[1] != $fstat[1]) { }
124 2 10 if ($fstat[7] < $fpos) { }
179 10 92 unless _chkStat($file)
182 42 60 if (exists $buffers{$file}) { }
195 0 427 $noLocks ? :
196 421 6 if (defined $irv) { }
199 66 355 if $irv < PIOBLKSIZE()
207 96 6 if ($rv)
209 86 10 if (length $content) { }
217 8 78 if (not $bflag and $content =~ m[@{[qr/(?:\15\12|\15|\12)/s];}]so)
225 80 6 if ($content =~ /@{[\undef];}/so) { }
230 2 3328 if (length $tmp[0] > PIOMAXLNSIZE()) { }
242 2 78 if ($rv != scalar @$aref)
251 26 54 if (scalar @tmp) { }
254 8 18 if (length $tmp[0] > PIOMAXLNSIZE()) { }
275 2 4 if (length $content > PIOMAXLNSIZE()) { }
296 14 88 if defined $rv and $rv == 0
303 42 2 if $doChomp and scalar @$aref
349 12 6 if (_chkBuffer($file)) { }
361 0 6 unless $ofsb < 0
366 6 0 if popen($file, 0)
371 6 12 if ($offset) { }
375 0 22 $noLocks ? :
382 6 0 if (scalar @$aref > abs $offset)
386 0 6 unless $rv
391 0 12 $noLocks ? :
434 4 44 if (ref $file eq 'GLOB') { }
435 2 2 if fileno $file
439 2 46 if (scalar @fstat and $fstat[7] > PIOMAXFSIZE())
445 42 6 if defined $rv