Branch Coverage

blib/lib/Git/MoreHooks/CheckCommitAuthorFromMailmap.pm
Criterion Covered Total %
branch 0 38 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)
86 0 0 unless (eval { do { &load("Git::Mailmap"); 1 } })
98 0 0 if (defined $mailmap_as_string)
106 0 0 if (defined $mapfile_location)
107 0 0 if (-e $mapfile_location) { }
120 0 0 if (defined $mapfile_blob)
121 0 0 if (my $blob_as_str = $git->command('cat-file', '-p', $mapfile_blob)) { }
136 0 0 if ($git->get_config($CFG, "match-mailmap-name") eq 1)
144 0 0 if (not $verified and $git->get_config($CFG, "allow-mailmap-aliases") eq 1)
146 0 0 if ($git->get_config($CFG, "match-mailmap-name") eq 1)
152 0 0 if ($verified == 0)
163 0 0 unless $git->is_reference_enabled($ref)
167 0 0 unless check_commit_at_server($git, $commit)
180 0 0 if $git->im_admin($git)
185 0 0 unless check_ref($git, $ref)
201 0 0 unless $branch =~ m[^refs/]msx
203 0 0 unless $git->is_reference_enabled($branch)