Coverage Report

Statementstmt 88.0% 1249 / 1418 Branchbran 76.1% 446 / 586 Conditioncond 63.9% 158 / 247 MC/DCmcdc 51.7% 73 / 141 Subroutinesub 97.1% 169 / 174 Podpod 53.0% 26 / 49 totaltotal 81.1% 2121 / 2615 CC 450 scar 40.9 CC 450 · cov 82% · CRAP 59.9

Top SCAR

bin/ghgen 57.8
CC
76
Cov
33%
cmd_analyze
805.2
auto_detect_with_prompt
156.0
cmd_generate
153.6
CRAP 324.6
lib/App/GHGen/PerlCustomizer.pm 27.8
CC
36
Cov
98%
generate_custom_perl_workflow
26.0
detect_perl_requirements
6.0
_get_perl_versions
4.0
CRAP 16.2
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 39.1 108 / 27629.4 30 / 10210.3 6 / 580.0 0 / 3184.6 22 / 26n/a 33.6 166 / 49376 57.8
CC
76
Cov
33%
CRAP 324.6
ghgen 39.1 108 / 27629.4 30 / 10210.3 6 / 580.0 0 / 3184.6 22 / 26n/a 33.6 166 / 49376 57.8
CC
76
Cov
33%
cmd_analyze
805.2
auto_detect_with_prompt
156.0
cmd_generate
153.6
CRAP 324.6
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 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
lib/App/GHGen 99.9 1003 / 100485.0 386 / 45480.5 145 / 18066.6 70 / 10599.2 135 / 13652.2 23 / 4491.6 1762 / 1923345 21.6
CC
345
Cov
94%
CRAP 8.6
PerlCustomizer.pm 100 215 / 21592.8 26 / 2889.7 35 / 3981.8 18 / 22100 11 / 11100 2 / 296.8 307 / 31736 27.8
CC
36
Cov
98%
generate_custom_perl_workflow
26.0
detect_perl_requirements
6.0
_get_perl_versions
4.0
CRAP 16.2
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 / 12996.1 75 / 7890.0 18 / 2075.0 9 / 12100 14 / 1437.5 3 / 895.0 248 / 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 102 / 102100 26 / 2676.9 10 / 1362.5 5 / 8100 31 / 31100 4 / 496.7 178 / 18421 10.5
CC
21
Cov
98%
generate_workflow
7.0
_validate_versions
5.2
_runner_label
4.0
CRAP 2.9