blib/lib/App/GitHooks/Hook/CommitMsg.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 8 | 18 | 44.4 |
line | true | false | branch |
---|---|---|---|
60 | 0 | 1 | if scalar keys %args != 0 |
64 | 0 | 1 | unless Data::Validate::Type::is_instance($app, 'class', 'App::GitHooks') |
70 | 0 | 1 | $^O eq 'MSWin32' ? : |
79 | 0 | 1 | unless $app->get_terminal->is_interactive or $force_interactive |
98 | 0 | 1 | if $commit_message->is_empty |
109 | 0 | 1 | if $return_code == $App::GitHooks::Hook::CommitMsg::PLUGIN_RETURN_FAILED |
115 | 0 | 1 | if ($has_errors) { } |
118 | 0 | 0 | if ($app->get_terminal->is_interactive) { } |
141 | 0 | 1 | $has_errors ? : |