Coverage Report

Statementstmt 38.5% 495 / 1284 Branchbran 35.2% 105 / 298 Conditioncond 26.5% 44 / 166 MC/DCmcdc 18.8% 17 / 90 Subroutinesub 49.0% 79 / 161 Podpod 37.2% 16 / 43 totaltotal 37.0% 756 / 2042 CC 216 scar 35.5 CC 216 · cov 37% · CRAP 34.8

Top SCAR

blib/lib/Git/MoreHooks/TriggerJenkins.pm untested 45.2
CC
35
Cov
0%
trigger_branch
210.0
handle_affected_refs
132.0
delete_job
42.0
CRAP 91.6
blib/lib/Git/MoreHooks/CheckIndent.pm 43.0
CC
32
Cov
31%
do_hook
182.0
_setup_config
72.0
handle_file
56.0
CRAP 73.9
blib/lib/Git/MoreHooks/CheckCommitAuthorFromMailmap.pm 39.4
CC
26
Cov
18%
_check_mailmap
156.0
_setup_config
20.0
check_ref
20.0
CRAP 51.4
blib/lib/Git/MoreHooks/CheckPerl.pm untested 31.2
CC
12
Cov
0%
check_new_or_modified_files
56.0
_set_critic
42.0
_setup_config
2.0
CRAP 22.6
blib/lib/Git/MoreHooks/GitRepoAdmin.pm 29.2
CC
25
Cov
58%
check_affected_refs_server_side
49.0
check_affected_refs_client_side
29.5
_new_version
3.6
CRAP 18.6
4 4 files < 75%
1 1 file 75-90%
1 1 file 90-100%
4 4 untested files
< 75% 75-90% 90-100% at 100% untested
File Statementstmt Branchbran Conditioncond MC/DCmcdc Subroutinesub Podpod totaltotal CC SCAR
/tmp/githooks.hp2Eu/repo/.git/hooks 100 15 / 1550.0 1 / 2n/a n/a 100 4 / 4n/a 95.2 20 / 211 0.0
CC
1
Cov
94%
CRAP 1.0
commit-msg 100 15 / 1550.0 1 / 2n/a n/a 100 4 / 4n/a 95.2 20 / 211 0.0
CC
1
Cov
94%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
blib/lib/Git 0.0 0 / 11n/a n/a n/a 0.0 0 / 3n/a 0.0 0 / 141 6.9
CC
1
Cov
0%
CRAP 2.0
MoreHooks.pm untested 0.0 0 / 11n/a n/a n/a 0.0 0 / 3n/a 0.0 0 / 141 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
blib/lib/Git/MoreHooks 38.1 480 / 125835.1 104 / 29626.5 44 / 16618.8 17 / 9048.7 75 / 15437.2 16 / 4336.6 736 / 2007216 35.7
CC
216
Cov
37%
CRAP 35.4
TriggerJenkins.pm untested 0.0 0 / 2280.0 0 / 680.0 0 / 250.0 0 / 130.0 0 / 180.0 0 / 90.0 0 / 36135 45.2
CC
35
Cov
0%
trigger_branch
210.0
handle_affected_refs
132.0
delete_job
42.0
CRAP 91.6
CheckIndent.pm 35.3 41 / 11612.5 3 / 2429.1 7 / 2416.6 2 / 1260.0 9 / 150.0 0 / 331.9 62 / 19432 43.0
CC
32
Cov
31%
do_hook
182.0
_setup_config
72.0
handle_file
56.0
CRAP 73.9
CheckCommitAuthorFromMailmap.pm 25.0 33 / 1320.0 0 / 380.0 0 / 90.0 0 / 544.4 8 / 1880.0 4 / 521.7 45 / 20726 39.4
CC
26
Cov
18%
_check_mailmap
156.0
_setup_config
20.0
check_ref
20.0
CRAP 51.4
CheckPerl.pm untested 0.0 0 / 1840.0 0 / 220.0 0 / 290.0 0 / 150.0 0 / 190.0 0 / 90.0 0 / 27812 31.2
CC
12
Cov
0%
check_new_or_modified_files
56.0
_set_critic
42.0
_setup_config
2.0
CRAP 22.6
GitRepoAdmin.pm 65.8 102 / 15532.1 9 / 2835.0 7 / 2018.1 2 / 1194.4 17 / 18100 2 / 259.4 139 / 23425 29.2
CC
25
Cov
58%
check_affected_refs_server_side
49.0
check_affected_refs_client_side
29.5
_new_version
3.6
CRAP 18.6
ScanCtags.pm untested 0.0 0 / 1030.0 0 / 80.0 0 / 210.0 0 / 120.0 0 / 170.0 0 / 20.0 0 / 1635 21.6
CC
5
Cov
0%
update_tags_file
30.0
_setup_config
2.0
BEGIN
2.0
CRAP 8.7
CheckTrailers.pm 95.0 270 / 28485.1 92 / 10878.9 30 / 3859.0 13 / 2297.0 33 / 3457.1 4 / 789.6 442 / 49387 21.5
CC
87
Cov
91%
_setup_config
23.5
_trailers
9.0
message_errors
8.1
CRAP 8.6
CheckCommitBase.pm 60.7 34 / 56n/a n/a n/a 53.3 8 / 15100 6 / 662.3 48 / 771 3.8
CC
1
Cov
61%
_call_user_hook
2.0
pre_commit_callback
2.0
update_callback
2.0
CRAP 1.5