blib/lib/CPAN/PackageDetails.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 10 | 35 | 28.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
663 | 0 | 0 | 0 | $dist =~ /-undef\z/ and not length $version |
672 | 0 | 0 | 0 | not length $version and $dist =~ s/-(\d+\w)$// |
674 | 0 | 0 | 0 | $version =~ /^\d+$/ and $dist =~ s/-(\w+)$// |
688 | 0 | 0 | 0 | $1 > 6 and $1 & 1 |
0 | 0 | 0 | $2 and $2 >= 50 |
line | l | !l | condition |
---|---|---|---|
356 | 40 | 0 | $field || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
204 | 30 | 9 | 0 | ref $self || $self |
209 | 15 | 9 | 15 | defined &{"${class}::$method";} or exists $Dispatchable{$method} |
9 | 10 | 5 | defined &{"${class}::$method";} or exists $Dispatchable{$method} or $self->header_exists($method) | |
476 | 0 | 4 | 0 | ref $either || $either |
688 | 0 | 0 | 0 | $1 > 6 and $1 & 1 or $2 and $2 >= 50 |
0 | 0 | 0 | $1 > 6 and $1 & 1 or $2 and $2 >= 50 or $3 |