Branch Coverage

blib/lib/Pinto/Role/Puller.pm
Criterion Covered Total %
branch 31 34 91.1


line true false branch
86 114 45 if ($target->isa('Pinto::Schema::Result::Distribution')) { }
4 41 elsif ($target->isa('Pinto::Target::Distribution')) { }
41 0 elsif ($target->isa('Pinto::Target::Package')) { }
95 1 40 if ($target->is_core('in', $tpv))
107 76 76 if $self->recurse
123 12 73 if ($dist = $stack->get_distribution('target', $target)) { }
8 65 elsif ($dist = $stack->repo->get_distribution('target', $target)) { }
50 15 elsif ($dist = $stack->repo->ups_distribution('target', $target, 'cascade', $self->cascade)) { }
6 9 elsif ($self->should_skip_missing_prerequisite($target)) { }
141 70 0 if defined $msg
166 2 41 if defined $last_seen{$pkg_name} and $target->is_satisfied_by($last_seen{$pkg_name})
168 6 31 unless my $dist = $self->find('target', $target)
180 46 2 unless $_[0]->is_perl
184 76 0 unless $self->with_development_prerequisites
201 4 11 if $self->skip_all_missing_prerequisites
202 8 3 unless my(@skips) = @{$self->skip_missing_prerequisite;}
203 2 1 if &any(sub { $target->name eq $_; } , @skips)