Branch Coverage

blib/lib/CPAN/Meta/Prereqs.pm
Criterion Covered Total %
branch 32 48 66.6


line true false branch
62 0 62 unless $phase =~ /\Ax_/i or $is_legal_phase{$phase}
65 0 67 unless keys %$phase_spec
68 0 96 unless $type =~ /\Ax_/i or $is_legal_type{$type}
72 0 104 unless keys %$spec
100 0 217 unless defined $phase
101 0 217 unless defined $type
103 0 217 unless ($phase =~ /\Ax_/i or grep {$phase eq $_;} $self->__legal_phases)
107 0 217 unless ($type =~ /\Ax_/i or grep {$type eq $_;} $self->__legal_types)
113 11 206 if $self->is_finalized
131 78 9 unless /\Ax_/i
146 0 99 unless $phase =~ /\Ax_/i or grep {$phase eq $_;} $self->__legal_phases
149 123 16 unless /\Ax_/i
171 7 1 &blessed($other) ? :
184 33 57 unless $this_req->required_modules
189 0 45 unless $req->required_modules
213 1 1 unless defined $phases
214 1 1 unless defined $types
216 0 2 unless ref $phases eq 'ARRAY'
218 0 2 unless ref $types eq 'ARRAY'
224 0 6 unless ($phase =~ /\Ax_/i or grep {$phase eq $_;} $self->__legal_phases)
228 0 9 unless ($type =~ /\Ax_/i or grep {$type eq $_;} $self->__legal_types)
235 0 2 if $self->is_finalized
257 1 73 unless $req->required_modules
312 105 0 defined $_ ? :