Branch Coverage

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


line true false branch
49 0 0 unless $git->is_reference_enabled($current_branch)
72 0 0 if $git->im_admin
75 0 0 unless _check_mailmap($git, $commit, $author_name, $author_email)
87 0 0 unless (eval { do { &load("Git::Mailmap"); 1 } })
101 0 0 if (defined $mailmap_as_string)
109 0 0 if (defined $mapfile_location)
110 0 0 if (-e $mapfile_location) { }
125 0 0 if (defined $mapfile_blob)
130 0 0 if (defined $blob_as_str) { }
146 0 0 if ($git->get_config($CFG, "match-mailmap-name") eq 1)
154 0 0 if (not $verified and $git->get_config($CFG, "allow-mailmap-aliases") eq 1)
156 0 0 if ($git->get_config($CFG, "match-mailmap-name") eq 1)
162 0 0 if ($verified == 0)
173 0 0 unless $git->is_reference_enabled($ref)
177 0 0 unless check_commit_at_server($git, $commit)
190 0 0 if $git->im_admin($git)
195 0 0 unless check_ref($git, $ref)
211 0 0 unless $branch =~ m[^refs/]msx
213 0 0 unless $git->is_reference_enabled($branch)