blib/lib/File/Tail.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 28 | 46 | 60.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
220 | 0 | 0 | 14 | defined $this and defined $$this{'handle'} |
350 | 9 | 1 | 1 | $oldhandle and $$object{'name_changes_callback'} |
423 | 3 | 29 | 2 | $$object{'curpos'} == $$object{'endpos'} and time - $$object{'lastread'} > $$object{'resetafter'} |
481 | 0 | 0 | 0 | !$nfound && time < $mustreturn |
line | l | !l | condition |
---|---|---|---|
253 | 0 | 9 | $params{'method'} || 'tail' |
255 | 9 | 0 | $params{'maxinterval'} || 60 |
256 | 8 | 1 | $params{'interval'} || 10 |
257 | 9 | 0 | $params{'adjustafter'} || 10 |
258 | 8 | 1 | $params{'errmode'} || 'die' |
261 | 0 | 9 | $params{'debug'} || 0 |
262 | 7 | 2 | $params{'tail'} || 0 |
263 | 0 | 9 | $params{'nowait'} || 0 |
264 | 0 | 9 | $params{'maxbuf'} || 16384 |
265 | 1 | 8 | $params{'name_changes'} || undef |
271 | 0 | 9 | $params{'ignore_nonexistant'} || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
231 | 0 | 9 | 0 | ref $pkg || $pkg |
259 | 0 | 9 | 0 | $params{'resetafter'} || $object->maxinterval * $object->adjustafter |
549 | 1 | 0 | 18 | $pending or $crs |
565 | 1 | 0 | 12 | not length $$object{'buffer'} or index($$object{'buffer'}, "\n") < 0 |