blib/lib/CPAN/Meta/Requirements/Range.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 53 | 71 | 74.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
88 | 271 | 188 | 359 | not ref $version and $version eq 0 |
188 | 0 | 0 | ref $version and _isa_version($version) | |
101 | 188 | 0 | 0 | $] < "5.008001" and not $version =~ /\A[0-9]/ |
188 | 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 | 446 | defined $req and length $req |
275 | 14 | 753 | 27 | defined $self->{'minimum'} and defined $self->{'maximum'} |
303 | 2 | 1 | 28 | !defined($self->{'minimum'}) || $_ >= $self->{'minimum'} and !defined($self->{'maximum'}) || $_ <= $self->{'maximum'} |
462 | 15 | 3 | 383 | @parts == 1 and $parts[0][0] eq ">=" |
488 | 30 | 43 | 10 | defined $self->{'minimum'} and $version < $self->{'minimum'} |
489 | 57 | 10 | 6 | defined $self->{'maximum'} and $version > $self->{'maximum'} |
491 | 49 | 11 | 7 | defined $self->{'exclusions'} and grep {$version == $_;} @{$$self{"exclusions"};} |
line | l | !l | condition |
---|---|---|---|
178 | 439 | 11 | $module //= "module" |
258 | 11 | 0 | $module //= "module" |
326 | 746 | 3 | $module //= "module" |
355 | 22 | 2 | $module //= "module" |
389 | 21 | 2 | $module //= "module" |
393 | 4 | 19 | $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 | 459 | not defined $version or not ref $version and $version eq 0 |
271 | 0 | 188 | ref $version eq "version" or ref $version and _isa_version($version) | |
96 | 0 | 0 | 188 | $INC{'version/vpp.pm'} or $INC{'ExtUtils/MakeMaker/version/vpp.pm'} |
303 | 7 | 22 | 2 | !defined($self->{'minimum'}) || $_ >= $self->{'minimum'} |
16 | 12 | 1 | !defined($self->{'maximum'}) || $_ <= $self->{'maximum'} |