Branch Coverage

blib/lib/Git/MoreHooks/CheckCommitAuthorFromMailmap.pm
Criterion Covered Total %
branch 0 36 0.0


line true false branch
48 0 0 unless $git->is_reference_enabled($current_branch)
71 0 0 if $git->im_admin
74 0 0 unless _check_mailmap($git, $commit, $author_name, $author_email)
88 0 0 if (defined $mailmap_as_string)
96 0 0 if (defined $mapfile_location)
97 0 0 if (-e $mapfile_location) { }
110 0 0 if (defined $mapfile_blob)
111 0 0 if (my $blob_as_str = $git->command('cat-file', '-p', $mapfile_blob)) { }
126 0 0 if ($git->get_config($CFG, "match-mailmap-name") eq 1)
134 0 0 if (not $verified and $git->get_config($CFG, "allow-mailmap-aliases") eq 1)
136 0 0 if ($git->get_config($CFG, "match-mailmap-name") eq 1)
142 0 0 if ($verified == 0)
153 0 0 unless $git->is_reference_enabled($ref)
157 0 0 unless check_commit_at_server($git, $commit)
170 0 0 if $git->im_admin($git)
175 0 0 unless check_ref($git, $ref)
191 0 0 unless $branch =~ m[^refs/]msx
193 0 0 unless $git->is_reference_enabled($branch)