Condition Coverage

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


and 3 conditions

line !l l&&!r l&&r condition
62 29 3 7 @_ and ref $_[-1] eq 'HASH'
106 29 1 2 defined $layers and $layers =~ /<:/
182 2 1 35 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)

or 2 conditions

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

or 3 conditions

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