Condition Coverage

blib/lib/File/FormatIdentification/Regex.pm
Criterion Covered Total %
condition 13 15 86.6


and 3 conditions

line !l l&&!r l&&r condition
62 3330 1209 3828 $rx1 =~ /$rx/ and $rx2 =~ /$rx/
115 93 3 11 $rx1 =~ /^(.*)$common$/ and $rx2 =~ /^(.*)$common$/
87 0 9 $rx1 =~ /^$common(.*)$/ and $rx2 =~ /^$common(.*)$/

or 3 conditions

line l !l&&r !l&&!r condition
99 1361 268 6573 $regex =~ /\(($subrg*)\)\|\(($subrg*)\)/ or $regex =~ /($subrg*)\|($subrg*)/
109 641 0 988 not defined $common or length $common == 0