Condition Coverage

blib/lib/Module/cpmfile/Prereqs.pm
Criterion Covered Total %
condition 21 27 77.7


and 3 conditions

line !l l&&!r l&&r condition
18 87 18 15 $hash->{$phase} and $hash->{$phase}{$type}
31 0 0 2 &blessed($cpanmeta) and $cpanmeta->isa("CPAN::Meta::Prereqs")
67 51 12 13 $self->{$phase} and $self->{$phase}{$type}
71 19 0 0 ref $ret eq "SCALAR" and not $$ret
91 1 1 3 @key == 1 and $key[0] eq "version"

or 2 conditions

line l !l condition
14 8 0 shift() || {}
21 16 4 $hash->{$phase}{$type}{$package} || {}
54 0 1 $options->{'version'} || 0
63 1 5 $phases ||= \@PHASE
64 1 5 $types ||= \@TYPE
79 2 1 shift() || ''