Branch Coverage

blib/lib/Metabrik/Devel/Mercurial.pm
Criterion Covered Total %
branch 0 68 0.0


line true false branch
57 0 0 unless $self->brik_help_run_undef_arg('clone', $repository)
61 0 0 unless $self->execute($cmd)
73 0 0 if (length $directory)
74 0 0 unless $self->brik_help_run_directory_not_found('push', $directory)
75 0 0 if (defined $self->shell) { }
76 0 0 unless $self->shell->run_cd($directory)
79 0 0 unless chdir $directory
91 0 0 if (length $directory)
92 0 0 if (defined $self->shell) { }
93 0 0 unless $self->shell->run_cd($cwd)
96 0 0 unless chdir $cwd
110 0 0 if (length $directory)
111 0 0 unless $self->brik_help_run_directory_not_found('incoming', $directory)
112 0 0 if (defined $self->shell) { }
113 0 0 unless $self->shell->run_cd($directory)
116 0 0 unless chdir $directory
123 0 0 if (length $directory)
124 0 0 if (defined $self->shell) { }
125 0 0 unless $self->shell->run_cd($cwd)
128 0 0 unless chdir $cwd
143 0 0 if (length $directory)
144 0 0 unless $self->brik_help_run_directory_not_found('pull', $directory)
145 0 0 unless $she->run_cd($directory)
151 0 0 if (length $directory)
152 0 0 unless $she->run_cd($cwd)
170 0 0 unless my $ref = $self->brik_help_run_invalid_arg('diff', $data, 'ARRAY', 'SCALAR')
171 0 0 if ($ref eq 'ARRAY')
184 0 0 unless $self->brik_help_run_undef_arg('add', $data)
185 0 0 unless my $ref = $self->brik_help_run_invalid_arg('add', $data, 'ARRAY', 'SCALAR')
188 0 0 if ($ref eq 'ARRAY')
208 0 0 unless my $ref = $self->brik_help_run_invalid_arg('commit', $data, 'ARRAY', 'SCALAR')
211 0 0 if ($ref eq 'ARRAY')
231 0 0 unless $self->brik_help_run_directory_not_found('stat', $directory)
243 0 0 unless $self->brik_help_run_directory_not_found('modified', $directory)