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
62 7620 2766 2661 scalar @rx_groups > 0 and $rx_groups[0]{'position'} == $rx->{'position'}
129 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
157 0 0 3450 defined $minoffset and length $minoffset > 0
160 1137 0 2313 defined $maxoffset and length $maxoffset > 0
178 0 0 3450 defined $minoffset and length $minoffset > 0

or 3 conditions

line l !l&&r !l&&!r condition
62 2661 0 10386 scalar @rx_groups > 0 and $rx_groups[0]{'position'} == $rx->{'position'} or $pos_diff > 1
129 111 0 18693 !defined($minoffset) || length $minoffset == 0
111 0 0 !defined($maxoffset) || length $maxoffset == 0
221 1137 0 3300 not defined $maxoffset or length $maxoffset == 0
224 0 0 4437 not defined $minoffset or length $minoffset == 0
306 420 0 5391 not defined $dir or length $dir == 0
346 255 0 4674 not defined $reference or 0 == length $reference