blib/lib/CPAN/Meta/Requirements/Range.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 53 | 71 | 74.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
88 | 271 | 184 | 359 | not ref $version and $version eq 0 |
184 | 0 | 0 | ref $version and _isa_version($version) | |
101 | 184 | 0 | 0 | $] < "5.008001" and not $version =~ /\A[0-9]/ |
184 | 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 | 444 | defined $req and length $req |
275 | 14 | 749 | 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"};} |
line | l | !l | condition |
---|---|---|---|
178 | 438 | 10 | $module //= "module" |
258 | 11 | 0 | $module //= "module" |
326 | 744 | 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" |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
88 | 0 | 359 | 455 | not defined $version or not ref $version and $version eq 0 |
271 | 0 | 184 | ref $version eq "version" or ref $version and _isa_version($version) | |
96 | 0 | 0 | 184 | $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'} |