Branch Coverage

blib/lib/Git/Flux/Command/init.pm
Criterion Covered Total %
branch 0 60 0.0


line true false branch
19 0 0 if ($force)
20 0 0 unless $force eq '-f'
30 0 0 if @_
33 0 0 unless ($failed)
34 0 0 unless $self->git_repo_is_headless
37 0 0 if ($self->gitflux_is_initialized and not $force)
43 0 0 if ($self->gitflux_has_master_configured and not $force) { }
56 0 0 if (@local_branches == 0) { }
74 0 0 if ($self->git_local_branch_exists($guess))
84 0 0 $self->is_interactive ? :
90 0 0 if ($check_existence)
91 0 0 unless $self->git_local_branch_exists($master_branch)
99 0 0 if ($self->gitflux_has_devel_configured and not $force) { }
108 0 0 if (@local_branches_wo_master == 0) { }
127 0 0 if ($self->git_local_branch_exists($guess))
139 0 0 $self->is_interactive ? :
145 0 0 if ($master_branch eq $devel_branch)
149 0 0 if ($check_existence)
150 0 0 unless $self->git_local_branch_exists($devel_branch)
165 0 0 if ($cmd->exit == 1)
183 0 0 unless ($self->git_local_branch_exists($devel_branch))
192 0 0 if ($created_gitflux_branch)
197 0 0 if ($force or not $repo->run('config', ('--get', 'gitflux.prefix.feature')) or not $repo->run('config', ('--get', 'gitflux.prefix.release')) or not $repo->run('config', ('--get', 'gitflux.prefix.hotfix')) or not $repo->run('config', ('--get', 'gitflux.prefix.support')) or not $repo->run('config', ('--get', 'gitflux.prefix.versiontag')))
214 0 0 if ($cmd->exit == 1 or $force)
220 0 0 if $type eq 'versiontag'
223 0 0 $type eq 'versiontag' ? :
227 0 0 $self->is_interactive ? :
231 0 0 if defined $answer
232 0 0 unless defined $answer and $answer ne ''
236 0 0 unless defined $answer and $answer eq '-'