Branch Coverage

lib/CPAN/Changes/Group/Dependencies/Stats.pm
Criterion Covered Total %
branch 31 36 86.1


line true false branch
77 0 180 unless exists $phases->{$phase}
78 63 117 unless exists $phases->{$phase}{$rel}
84 468 117 if 1 > $stash->{$type}
85 0 117 unless my $method = $self->can('symbol_' . $type)
88 0 117 unless @parts
98 37 23 if (my $recommends = $self->_phase_rel_changes($phase, 'recommends', $phases))
101 39 21 if (my $suggested = $self->_phase_rel_changes($phase, 'suggests', $phases))
105 41 19 if (my $required = $self->_phase_rel_changes($phase, 'requires', $phases))
108 49 11 if (@extra)
111 60 0 if (@out)
126 60 57 unless (exists $phases->{$phase_m})
129 117 0 unless (exists $phases->{$phase_m}{$rel})
134 51 66 if $diff->is_addition
135 61 56 if $diff->is_removal
136 5 112 if ($diff->is_change)
137 2 3 if $diff->is_upgrade
138 2 3 if $diff->is_downgrade
139 1 2 unless ($diff->is_upgrade or $diff->is_downgrade)