Branch Coverage

blib/lib/Pinto/Action/Add.pm
Criterion Covered Total %
branch 14 14 100.0


line true false branch
111 4 113 if (my $dupe = $self->_check_for_duplicate($archive)) { }
135 113 5 unless defined $dupe
136 4 1 if $archive->basename eq $dupe->archive
146 3 1 s[^/][] ? :
150 7 2 ref $rule eq 'Regexp' ? :
158 5 4 unless &$matcher($rule, $pkg)
164 1 110 if $dist->packages->count == 0