Coverage Report

Statementstmt 85.4% 1137 / 1330 Branchbran 72.6% 398 / 548 Conditioncond 61.6% 140 / 227 MC/DCmcdc 50.7% 66 / 130 Subroutinesub 96.1% 151 / 157 Podpod 51.0% 24 / 47 totaltotal 78.5% 1916 / 2439 CC 424 scar 43.6 CC 424 · cov 80% · CRAP 78.5

Top SCAR

bin/ghgen 60.9
CC
72
Cov
20%
cmd_analyze
805.2
cmd_generate
552.0
auto_detect_with_prompt
156.0
CRAP 439.7
lib/App/GHGen/PerlCustomizer.pm 26.0
CC
32
Cov
98%
generate_custom_perl_workflow
22.0
detect_perl_requirements
6.0
_get_perl_versions
4.0
CRAP 13.5
lib/App/GHGen/Detector.pm 24.2
CC
95
Cov
81%
_detect_perl
15.1
_detect_node
14.7
_detect_php
14.4
CRAP 11.2
lib/App/GHGen/CostEstimator.pm 22.6
CC
59
Cov
98%
estimate_savings
15.0
estimate_job_duration
13.0
estimate_matrix_factor
10.0
CRAP 9.6
blib/lib/App/GHGen/Reporter.pm 22.4
CC
31
Cov
99%
generate_github_comment
15.0
generate_markdown_report
9.0
estimate_savings
7.0
CRAP 9.4
1 1 file < 75%
1 1 file 75-90%
7 7 files 90-100%
1 1 file 100%
< 75% 75-90% 90-100% at 100%
File Statementstmt Branchbran Conditioncond MC/DCmcdc Subroutinesub Podpod totaltotal CC SCAR
bin 27.0 71 / 2639.7 9 / 921.8 1 / 530.0 0 / 2978.2 18 / 23n/a 21.5 99 / 46072 60.9
CC
72
Cov
20%
CRAP 439.7
ghgen 27.0 71 / 2639.7 9 / 921.8 1 / 530.0 0 / 2978.2 18 / 23n/a 21.5 99 / 46072 60.9
CC
72
Cov
20%
cmd_analyze
805.2
cmd_generate
552.0
auto_detect_with_prompt
156.0
CRAP 439.7
blib/lib/App 100 10 / 10n/a n/a n/a 100 3 / 3n/a 100 13 / 131 0.0
CC
1
Cov
100%
CRAP 1.0
GHGen.pm 100 10 / 10n/a n/a n/a 100 3 / 3n/a 100 13 / 131 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
blib/lib/App/GHGen 100 128 / 128100 30 / 3077.7 7 / 960.0 3 / 5100 9 / 960.0 3 / 596.7 180 / 18631 22.4
CC
31
Cov
99%
CRAP 9.4
Reporter.pm 100 128 / 128100 30 / 3077.7 7 / 960.0 3 / 5100 9 / 960.0 3 / 596.7 180 / 18631 22.4
CC
31
Cov
99%
generate_github_comment
15.0
generate_markdown_report
9.0
estimate_savings
7.0
CRAP 9.4
lib/App/GHGen 99.8 928 / 92984.2 359 / 42680.0 132 / 16565.6 63 / 9699.1 121 / 12250.0 21 / 4291.2 1624 / 1780323 21.6
CC
323
Cov
93%
CRAP 8.6
PerlCustomizer.pm 100 208 / 20891.6 22 / 2488.5 31 / 3580.0 16 / 20100 10 / 10100 2 / 296.6 289 / 29932 26.0
CC
32
Cov
98%
generate_custom_perl_workflow
22.0
detect_perl_requirements
6.0
_get_perl_versions
4.0
CRAP 13.5
Detector.pm 100 135 / 13572.5 119 / 16440.0 12 / 3010.0 2 / 20100 17 / 17100 2 / 277.9 287 / 36895 24.2
CC
95
Cov
81%
_detect_perl
15.1
_detect_node
14.7
_detect_php
14.4
CRAP 11.2
CostEstimator.pm 100 129 / 12997.4 76 / 7890.0 18 / 2075.0 9 / 12100 14 / 1437.5 3 / 895.4 249 / 26159 22.6
CC
59
Cov
98%
estimate_savings
15.0
estimate_job_duration
13.0
estimate_matrix_factor
10.0
CRAP 9.6
Analyzer.pm 100 106 / 10688.2 60 / 6891.6 22 / 2485.7 12 / 14100 17 / 1740.0 4 / 1092.4 221 / 23955 19.8
CC
55
Cov
95%
detect_project_type
11.0
analyze_workflow
10.0
has_broad_triggers
9.0
CRAP 7.3
Fixer.pm 99.2 134 / 13585.0 51 / 6095.2 40 / 4291.3 21 / 2396.4 27 / 2823.0 3 / 1391.6 276 / 30158 18.6
CC
58
Cov
95%
detect_and_create_cache_step
13.0
add_caching
10.1
update_actions
8.1
CRAP 6.4
Interactive.pm 100 182 / 18296.6 29 / 3066.6 8 / 1250.0 3 / 6100 18 / 18100 5 / 596.8 245 / 25327 17.6
CC
27
Cov
98%
prompt_multiselect
11.1
prompt_choice
8.0
prompt_yes_no
6.0
CRAP 5.8
Generator.pm 100 34 / 34100 2 / 250.0 1 / 20.0 0 / 1100 18 / 18100 2 / 296.6 57 / 593 1.8
CC
3
Cov
97%
_generate_perl_workflow
2.0
generate_workflow
2.0
BEGIN
1.0
CRAP 1.2