Condition Coverage

blib/lib/CPAN/DistnameInfo.pm
Criterion Covered Total %
condition 17 24 70.8


and 3 conditions

line !l l&&!r l&&r condition
20 585 1 1 $dist =~ /-undef\z/ and not length $version
47 558 29 0 not length $version and $dist =~ s/-(\d+\w)$//
50 572 4 11 $version =~ /^\d+$/ and $dist =~ s/-(\w+)$//
63 3 2 0 $1 > 6 and $1 & 1
1 4 0 $2 and $2 >= 50

or 3 conditions

line l !l&&r !l&&!r condition
62 5 1 547 $version =~ /\d\D\d+_\d/ or $version =~ /-TRIAL/
63 0 0 5 $1 > 6 and $1 & 1 or $2 and $2 >= 50
0 0 5 $1 > 6 and $1 & 1 or $2 and $2 >= 50 or $3