| blib/lib/Logfile/Tail.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 26 | 26 | 100.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 62 | 29 | 3 | 13 | @_ and ref $_[-1] eq "HASH" |
| 106 | 29 | 5 | 2 | defined $layers and $layers =~ /<:/ |
| 182 | 3 | 1 | 40 | defined $abs_stat[1] and (stat $log_filename)[1] == $abs_stat[1] |
| 305 | 22 | 4 | 17 | $older_newer eq "newer" and -f $filename |
| 314 | 3 | 2 | 9 | defined $content and $checksum eq &Digest::SHA::sha256_hex($content) |
| line | l | !l | condition |
|---|---|---|---|
| 309 | 16 | 24 | $offset || 0 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 78 | 5 | 4 | 15 | not defined $content or $checksum ne &Digest::SHA::sha256_hex($content) |
| 163 | 1 | 7 | 30 | not defined $read or $read <= 0 |
| 348 | 2 | 2 | 33 | not @file_stat or join($", @fh_stat[0, 1]) ne join($", @file_stat[0, 1]) |