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 1791 570 3396 $rx1 =~ /$rx/ and $rx2 =~ /$rx/
115 96 3 11 $rx1 =~ /^(.*)$common$/ and $rx2 =~ /^(.*)$common$/
90 0 9 $rx1 =~ /^$common(.*)$/ and $rx2 =~ /^$common(.*)$/

or 3 conditions

line l !l&&r !l&&!r condition
99 881 220 4755 $regex =~ /\(($subrg*)\)\|\(($subrg*)\)/ or $regex =~ /($subrg*)\|($subrg*)/
109 527 0 574 not defined $common or length $common == 0