Branch Coverage

blib/lib/Module/cpmfile/Prereqs.pm
Criterion Covered Total %
branch 17 20 85.0


line true false branch
18 105 15 unless $hash->{$phase} and $hash->{$phase}{$type}
31 2 0 if (&blessed($cpanmeta) and $cpanmeta->isa("CPAN::Meta::Prereqs"))
39 2 4 $version ? :
67 63 13 unless $self->{$phase} and $self->{$phase}{$type}
71 0 19 if ref $ret eq "SCALAR" and not $$ret
83 11 4 unless my $spec1 = $self->{$phase}
86 7 5 unless my $spec2 = $spec1->{$type}
89 0 7 unless $spec2->{$package}
5 2 if (my(%option) = %{{} unless $spec2->{$package};}) { }
91 3 2 if (@key == 1 and $key[0] eq 'version') { }