Subroutine Coverage

lib/Git/Repository/Plugin/GitHooks.pm
Criterion Covered Total %
subroutine 18 67 26.8
pod 40 40 100.0


line count pod subroutine
1 15 n/a BEGIN
6 15 n/a BEGIN
8 15 n/a BEGIN
9 15 n/a BEGIN
10 15 n/a BEGIN
11 15 n/a BEGIN
12 15 n/a BEGIN
13 15 n/a BEGIN
18 17 n/a _keywords
65 0 n/a _push_input_data
71 0 n/a _get_input_data
76 0 n/a _prepare_input_data
91 0 n/a _prepare_receive
104 0 n/a _prepare_update
116 0 n/a _prepare_gerrit_args
183 0 n/a _prepare_gerrit_ref_update
208 0 n/a _prepare_gerrit_submit
231 0 n/a _gerrit_patchset_post_hook
340 0 n/a _prepare_gerrit_patchset
368 0 Yes prepare_hook
383 0 Yes load_plugins
447 0 n/a _invoke_external_hook
545 0 Yes invoke_external_hooks
576 0 Yes post_hook
582 0 Yes post_hooks
591 12 Yes cache
601 21 Yes get_config
695 0 Yes get_config_boolean
713 0 Yes get_config_integer
742 1 n/a _githooks_colors
779 0 Yes check_timeout
800 1 Yes fault
844 0 Yes get_faults
887 0 Yes fail_on_faults
905 0 Yes undef_commit
909 0 Yes empty_tree
913 11 Yes get_commit
929 0 Yes get_commits
1033 17 Yes read_commit_msg_file
1074 2 Yes write_commit_msg_file
1087 0 n/a _set_affected_ref
1094 0 n/a _get_affected_refs_hash
1100 0 Yes get_affected_refs
1106 0 Yes get_affected_ref_range
1117 0 Yes get_affected_ref_commits
1123 0 Yes filter_name_status_in_index
1143 0 Yes filter_name_status_in_range
1191 0 Yes filter_name_status_in_commit
1264 0 Yes filter_files_in_index
1270 0 Yes filter_files_in_range
1276 0 Yes filter_files_in_commit
1282 1 Yes authenticated_user
1304 0 Yes repository_name
1333 3 Yes get_current_branch
1341 0 Yes get_sha1
1347 0 Yes get_head_or_empty_tree
1356 0 Yes blob
1409 0 Yes file_size
1415 0 Yes file_mode
1448 0 Yes is_reference_enabled
1456 0 n/a __ANON__
1482 0 n/a _grok_groups_spec
1506 0 n/a _grok_groups
1533 0 n/a _im_memberof
1550 0 Yes match_user
1566 0 Yes im_admin
1574 0 Yes grok_acls