Condition Coverage

lib/Parse/Distname.pm
Criterion Covered Total %
condition 31 40 77.5


and 3 conditions

line !l l&&!r l&&r condition
95 583 10 2 $distv =~ /^perl/ and $distv =~ s/\-(RC[0-9]*)$//
110 16 0 0 $distv eq 'perl' and not $version =~ /\./
131 532 52 11 not defined $version and $distv =~ s/\-([a-z]+[0-9][0-9_]*)$//
138 543 29 23 not defined $version || $distv =~ /\-(?:S3|MSWin32|OS2|(?:[A-Za-z][A-Za-z0-9_]*)?SSL3)$/i and $distv =~ s/([_\.]?)([vV]?[0-9_]+[ab]?)$//
143 17 6 0 not $separator and $distv =~ s/_([a-z])$//
149 566 28 1 not defined $version and $distv =~ s/\-undef$//
156 29 556 5 $version and $version =~ /\d\.\d+_\d/
158 3 2 0 $1 > 6 and $1 & 1
1 4 0 $2 and $2 >= 50

or 2 conditions

line l !l condition
119 71 38 $1 || ''
201 592 0 parse_distname($distname) || {}

or 3 conditions

line l !l&&r !l&&!r condition
138 543 0 52 defined $version || $distv =~ /\-(?:S3|MSWin32|OS2|(?:[A-Za-z][A-Za-z0-9_]*)?SSL3)$/i
156 5 1 584 $version and $version =~ /\d\.\d+_\d/ or $trial
158 0 0 5 $1 > 6 and $1 & 1 or $2 and $2 >= 50