Condition Coverage

blib/lib/File/FormatIdentification/Pronom.pm
Criterion Covered Total %
condition 29 48 60.4


and 3 conditions

line !l l&&!r l&&r condition
61 7620 2766 2661 scalar @rx_groups > 0 and $rx_groups[0]{'position'} == $rx->{'position'}
128 18693 0 111 !defined($minoffset) || length $minoffset == 0 and !defined($maxoffset) || length $maxoffset == 0
0 0 18693 defined $minoffset and length $minoffset > 0
0 1137 17556 defined $minoffset and length $minoffset > 0 and defined $maxoffset
1137 0 17556 defined $minoffset and length $minoffset > 0 and defined $maxoffset and length $maxoffset > 0
1137 2313 15243 defined $minoffset and length $minoffset > 0 and defined $maxoffset and length $maxoffset > 0 and $minoffset == $maxoffset
156 0 0 3450 defined $minoffset and length $minoffset > 0
159 1137 0 2313 defined $maxoffset and length $maxoffset > 0
177 0 0 3450 defined $minoffset and length $minoffset > 0

or 3 conditions

line l !l&&r !l&&!r condition
61 2661 0 10386 scalar @rx_groups > 0 and $rx_groups[0]{'position'} == $rx->{'position'} or $pos_diff > 1
128 111 0 18693 !defined($minoffset) || length $minoffset == 0
111 0 0 !defined($maxoffset) || length $maxoffset == 0
220 1137 0 3300 not defined $maxoffset or length $maxoffset == 0
223 0 0 4437 not defined $minoffset or length $minoffset == 0
305 420 0 5391 not defined $dir or length $dir == 0
345 255 0 4674 not defined $reference or 0 == length $reference