Branch Coverage

blib/lib/Git/Hooks.pm
Criterion Covered Total %
branch 0 46 0.0


line true false branch
64 0 0 if exists $options->{'config'}
66 0 0 if $git->im_admin
71 0 0 unless $git->is_reference_enabled($ref)
75 0 0 if exists $options->{'destroy'}
100 0 0 if $git->im_admin
102 0 0 if exists $options->{'config'}
106 0 0 unless $git->is_reference_enabled($current_branch)
110 0 0 if exists $options->{'destroy'}
135 0 0 if $git->im_admin
137 0 0 if exists $options->{'config'}
146 0 0 unless $branch =~ m[^refs/]u
149 0 0 unless $git->is_reference_enabled($branch)
153 0 0 if exists $options->{'destroy'}
179 0 0 if $git->im_admin
181 0 0 if exists $options->{'config'}
185 0 0 unless $git->is_reference_enabled($current_branch)
189 0 0 unless (defined $msg)
198 0 0 if exists $options->{'destroy'}
222 0 0 if $hook_basename =~ /^(?:(pre|post)?-receive|(post-)?update|push-to-checkout)$/u and $Git::Hooks::log->can("context")
239 0 0 if (defined $ok) { }
0 0 elsif (length $@) { }
243 0 0 unless ($ok)
247 0 0 if (my $help = $git->get_config(lc $CFG, "help-on-error"))