Condition Coverage

blib/lib/CPAN/PackageDetails.pm
Criterion Covered Total %
condition 10 35 28.5


and 3 conditions

line !l l&&!r l&&r condition
662 0 0 0 $dist =~ /-undef\z/ and not length $version
671 0 0 0 not length $version and $dist =~ s/-(\d+\w)$//
673 0 0 0 $version =~ /^\d+$/ and $dist =~ s/-(\w+)$//
687 0 0 0 $1 > 6 and $1 & 1
0 0 0 $2 and $2 >= 50

or 2 conditions

line l !l condition
355 40 0 $field || ''

or 3 conditions

line l !l&&r !l&&!r condition
203 30 9 0 ref $self || $self
208 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)
475 0 4 0 ref $either || $either
687 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