| blib/lib/File/Tail.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 28 | 49 | 57.1 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 220 | 0 | 0 | 14 | defined $this and defined $this->{'handle'} |
| 352 | 9 | 2 | 0 | $oldhandle and $object->{'name_changes_callback'} |
| 391 | 2 | 0 | 0 | $st->size == $object->{'curpos'} and $st->ino == $object->{'inode'} |
| 427 | 3 | 23 | 2 | $object->{'curpos'} == $object->{'endpos'} and &File::Tail::time() - $object->{'lastread'} > $object->{'resetafter'} |
| 485 | 0 | 0 | 0 | !$nfound && &File::Tail::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 |
| 267 | 1 | 8 | $params{'name_changes'} || undef |
| 273 | 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 |
| 553 | 1 | 0 | 18 | $pending or $crs |
| 569 | 1 | 0 | 12 | not length $object->{'buffer'} or index($object->{'buffer'}, "\n") < 0 |