Branch Coverage

blib/lib/Shipwright/Backend/Git.pm
Criterion Covered Total %
branch 1 34 2.9


line true false branch
50 0 0 if $self->repository =~ m[^git:[a-z]+(?:\+[a-z]+)?://]
54 0 0 if -e $repo_path and -e $self->local_dir and not $args{'no_sync_local_dir'}
78 0 0 unless rcopy($dir, $self->local_dir)
96 0 0 if ($version and $version lt '1.6.2')
110 0 0 unless open my $f, '>', $initial_file
137 0 0 if -e $target
154 0 0 unless chdir $target
171 0 0 if ($args{'action'} eq 'create') { }
173 0 0 if ($repo =~ m[^file://(.*)]) { }
174 0 0 if ($args{'force'} or not -e $1)
202 0 0 if $$self{'fs_backend'}
219 0 0 if (@_ > 1)
252 1 0 unless ref $self
269 0 0 if ($self->local_dir)
271 0 0 unless chdir $self->local_dir
295 0 0 unless chdir $self->local_dir
314 0 0 unless chdir $self->local_dir