line |
true |
false |
branch |
59
|
0 |
14 |
if scalar keys %args != 0
|
63
|
0 |
14 |
unless Data::Validate::Type::is_instance($app, 'class', 'App::GitHooks')
|
74
|
0 |
14 |
unless $app->get_terminal->is_interactive or $force_interactive
|
83
|
4 |
3 |
if ($checks_pass)
|
90
|
4 |
3 |
$checks_pass ? :
|
133
|
4 |
10 |
if $check_result == $App::GitHooks::Hook::PreCommit::PLUGIN_RETURN_FAILED
|
136
|
2 |
12 |
if $check_result == $App::GitHooks::Hook::PreCommit::PLUGIN_RETURN_WARNED
|
146
|
2 |
5 |
unless $file_checks
|
148
|
1 |
6 |
if $file_warnings
|
153
|
2 |
5 |
if ($has_warnings)
|
157
|
0 |
2 |
if ($app->get_terminal->is_interactive) { }
|