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
687 0 Yes get_config_boolean
705 0 Yes get_config_integer
734 1 n/a _githooks_colors
771 0 Yes check_timeout
792 1 Yes fault
836 0 Yes get_faults
879 0 Yes fail_on_faults
897 0 Yes undef_commit
901 0 Yes empty_tree
905 11 Yes get_commit
921 0 Yes get_commits
1025 17 Yes read_commit_msg_file
1066 2 Yes write_commit_msg_file
1079 0 n/a _set_affected_ref
1086 0 n/a _get_affected_refs_hash
1092 0 Yes get_affected_refs
1098 0 Yes get_affected_ref_range
1109 0 Yes get_affected_ref_commits
1115 0 Yes filter_name_status_in_index
1135 0 Yes filter_name_status_in_range
1183 0 Yes filter_name_status_in_commit
1256 0 Yes filter_files_in_index
1262 0 Yes filter_files_in_range
1268 0 Yes filter_files_in_commit
1274 1 Yes authenticated_user
1296 0 Yes repository_name
1325 3 Yes get_current_branch
1333 0 Yes get_sha1
1339 0 Yes get_head_or_empty_tree
1348 0 Yes blob
1401 0 Yes file_size
1407 0 Yes file_mode
1440 0 Yes is_reference_enabled
1448 0 n/a __ANON__
1474 0 n/a _grok_groups_spec
1498 0 n/a _grok_groups
1525 0 n/a _im_memberof
1542 0 Yes match_user
1558 0 Yes im_admin
1566 0 Yes grok_acls