Condition Coverage

blib/lib/CPAN/Meta/Requirements/Range.pm
Criterion Covered Total %
condition 53 71 74.6


and 3 conditions

line !l l&&!r l&&r condition
88 271 183 359 not ref $version and $version eq 0
183 0 0 ref $version and _isa_version($version)
101 183 0 0 $] < "5.008001" and not $version =~ /\A[0-9]/
183 0 0 $] < "5.008001" and not $version =~ /\A[0-9]/ and substr($version, 0, 1) ne "v"
0 0 0 $] < "5.008001" and not $version =~ /\A[0-9]/ and substr($version, 0, 1) ne "v" and length $version < 3
180 2 2 443 defined $req and length $req
275 14 748 27 defined $self->{'minimum'} and defined $self->{'maximum'}
303 2 1 26 !defined($self->{'minimum'}) || $_ >= $self->{'minimum'} and !defined($self->{'maximum'}) || $_ <= $self->{'maximum'}
462 14 3 383 @parts == 1 and $parts[0][0] eq ">="
488 30 39 9 defined $self->{'minimum'} and $version < $self->{'minimum'}
489 53 10 6 defined $self->{'maximum'} and $version > $self->{'maximum'}
491 49 8 6 defined $self->{'exclusions'} and grep {$version == $_;} @{$$self{"exclusions"};}

or 2 conditions

line l !l condition
178 437 10 $module //= "module"
258 11 0 $module //= "module"
326 743 3 $module //= "module"
355 22 2 $module //= "module"
389 19 2 $module //= "module"
393 4 17 $self->{'exclusions'} ||= []
540 3 0 $module //= "module"
553 2 0 $module //= "module"
565 3 0 $module //= "module"
577 3 0 $module //= "module"

or 3 conditions

line l !l&&r !l&&!r condition
88 0 359 454 not defined $version or not ref $version and $version eq 0
271 0 183 ref $version eq "version" or ref $version and _isa_version($version)
96 0 0 183 $INC{'version/vpp.pm'} or $INC{'ExtUtils/MakeMaker/version/vpp.pm'}
303 7 20 2 !defined($self->{'minimum'}) || $_ >= $self->{'minimum'}
14 12 1 !defined($self->{'maximum'}) || $_ <= $self->{'maximum'}