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
660 0 0 0 $dist =~ /-undef\z/ and not length $version
669 0 0 0 not length $version and $dist =~ s/-(\d+\w)$//
671 0 0 0 $version =~ /^\d+$/ and $dist =~ s/-(\w+)$//
685 0 0 0 $1 > 6 and $1 & 1
0 0 0 $2 and $2 >= 50

or 2 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
201 30 9 0 ref $self || $self
206 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)
473 0 4 0 ref $either || $either
685 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