Condition Coverage

blib/lib/Logfile/Tail.pm
Criterion Covered Total %
condition 26 26 100.0


and 3 conditions

line !l l&&!r l&&r condition
63 29 3 7 @_ and ref $_[-1] eq 'HASH'
107 29 1 2 defined $layers and $layers =~ /<:/
183 2 1 35 defined $abs_stat[1] and (stat $log_filename)[1] == $abs_stat[1]
306 22 4 17 $older_newer eq 'newer' and -f $filename
315 3 2 9 defined $content and $checksum eq &Digest::SHA::sha256_hex($content)

or 2 conditions

line l !l condition
310 16 24 $offset || 0

or 3 conditions

line l !l&&r !l&&!r condition
79 5 4 13 not defined $content or $checksum ne &Digest::SHA::sha256_hex($content)
164 1 7 28 not defined $read or $read <= 0
349 2 2 29 not @file_stat or join($", @fh_stat[0, 1]) ne join($", @file_stat[0, 1])