blib/lib/Git/Hooks.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 3 | 14 | 21.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
222 | 0 | 0 | 0 | $hook_basename =~ /^(?:(pre|post)?-receive|(post-)?update|push-to-checkout)$/u and $Git::Hooks::log->can("context") |
274 | 0 | 0 | 0 | ($hook_basename eq 'commit-msg' || $hook_basename eq 'pre-commit') && !$git->get_config_boolean('githooks', 'abort-commit') |
line | l | !l | condition |
---|---|---|---|
54 | 1 | 0 | $options //= {} |
90 | 0 | 0 | $options //= {} |
125 | 1 | 0 | $options //= {} |
168 | 1 | 0 | $options //= {} |