blib/lib/App/GitHooks/Hook/PrepareCommitMsg.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 5 | 12 | 41.6 |
line | true | false | branch |
---|---|---|---|
59 | 0 | 1 | if scalar keys %args != 0 |
63 | 0 | 1 | unless Data::Validate::Type::is_instance($app, 'class', 'App::GitHooks') |
83 | 0 | 1 | if $check_result == $App::GitHooks::Hook::PrepareCommitMsg::PLUGIN_RETURN_FAILED |
88 | 0 | 1 | if ($commit_message->has_changed) |
93 | 0 | 0 | $terminal->is_utf8 ? : |
110 | 1 | 0 | $tests_success ? : |