Branch Coverage

blib/lib/Git/CPAN/Patch/Command/Import.pm
Criterion Covered Total %
branch 10 28 35.7


line true false branch
97 0 0 unless LWP::Simple::mirror($url, $destination)
123 1 0 unless my $repo = shift()
125 0 0 if $repo->{'type'} eq 'git'
136 0 1 if ($dist eq 'perl')
141 1 0 if (my $latest_release = !$self->norepository && $self->metacpan->release($dist))
143 0 1 if (looks_like_git($repo))
154 0 1 if ($self->latest)
163 0 1 unless my $releases = $self->metacpan->release({'distribution', $dist})
196 0 1 if ($self->check and $self->last_imported_version)
197 0 0 if $import_version == $self->last_imported_version
200 0 0 if $import_version <= $self->last_imported_version
234 1 0 if $release->date
238 1 0 $self->first_import ? :
272 1 0 if ($@)