Coverage Report

Statementstmt 81.3% 1139 / 1401 Branchbran 70.0% 294 / 420 Conditioncond 55.3% 88 / 159 MC/DCmcdc 34.7% 33 / 95 Subroutinesub 86.5% 193 / 223 Podpod 5.6% 7 / 123 totaltotal 72.4% 1754 / 2421 CC 308 scar 36.1 CC 308 · cov 77% · CRAP 36.8
Prefix: blib/lib/WebService/

Top SCAR

GrowthBook.pm 44.6
CC
153
Cov
61%
_run
251.3
_get_sticky_bucket_variation
132.0
_get_sticky_bucket_assignments
72.0
CRAP 86.1
GrowthBook/Eval.pm 27.6
CC
97
Cov
90%
eval_operator_condition
31.2
eval_condition_value
20.1
get_type
15.5
CRAP 15.7
GrowthBook/Experiment.pm 23.9
CC
13
Cov
73%
update
56.0
to_hash
7.9
name
1.3
CRAP 10.9
GrowthBook/Util.pm 15.3
CC
26
Cov
96%
get_bucket_ranges
9.0
get_query_string_override
7.0
in_namespace
3.0
CRAP 4.6
GrowthBook/FeatureRepository.pm 9.7
CC
8
Cov
86%
set_cache
9.9
load_features
4.0
clear_cache
2.0
CRAP 2.6
4 4 files < 75%
6 6 files 75-90%
2 2 files 90-100%
< 75% 75-90% 90-100% at 100%
File Statementstmt Branchbran Conditioncond MC/DCmcdc Subroutinesub Podpod totaltotal CC SCAR
(root) 66.8 359 / 53750.0 93 / 18648.9 48 / 9824.5 14 / 5781.4 35 / 4363.6 7 / 1159.6 556 / 932153 44.6
CC
153
Cov
61%
CRAP 86.1
GrowthBook.pm 66.8 359 / 53750.0 93 / 18648.9 48 / 9824.5 14 / 5781.4 35 / 4363.6 7 / 1159.6 556 / 932153 44.6
CC
153
Cov
61%
_run
251.3
_get_sticky_bucket_variation
132.0
_get_sticky_bucket_assignments
72.0
CRAP 86.1
GrowthBook 90.2 780 / 86485.9 201 / 23465.5 40 / 6150.0 19 / 3887.7 158 / 1800.0 0 / 11280.4 1198 / 1489156 21.0
CC
156
Cov
88%
CRAP 8.1
Eval.pm 92.6 190 / 20593.7 135 / 14461.1 22 / 3645.4 10 / 22100 20 / 200.0 0 / 1285.8 377 / 43997 27.6
CC
97
Cov
90%
eval_operator_condition
31.2
eval_condition_value
20.1
get_type
15.5
CRAP 15.7
Experiment.pm 82.1 92 / 11222.7 5 / 22100 2 / 2100 1 / 181.2 26 / 320.0 0 / 2863.9 126 / 19713 23.9
CC
13
Cov
73%
update
56.0
to_hash
7.9
name
1.3
CRAP 10.9
Util.pm 100 86 / 8696.6 29 / 3080.0 16 / 2061.5 8 / 13100 15 / 150.0 0 / 989.0 154 / 17326 15.3
CC
26
Cov
96%
get_bucket_ranges
9.0
get_query_string_override
7.0
in_namespace
3.0
CRAP 4.6
FeatureRepository.pm 89.0 98 / 11080.0 8 / 100.0 0 / 30.0 0 / 285.0 17 / 200.0 0 / 582.0 123 / 1508 9.7
CC
8
Cov
86%
set_cache
9.9
load_features
4.0
clear_cache
2.0
CRAP 2.6
Feature.pm 92.1 35 / 3875.0 3 / 4n/a n/a 88.8 8 / 90.0 0 / 483.6 46 / 554 7.1
CC
4
Cov
90%
BUILDARGS
4.0
id
1.3
BEGIN
1.0
CRAP 2.0
Result.pm 77.7 49 / 6375.0 6 / 8n/a n/a 61.1 11 / 180.0 0 / 1464.0 66 / 1035 7.0
CC
5
Cov
77%
to_hash
5.1
key
1.4
variation_id
1.3
CRAP 2.0
FeatureResult.pm 90.7 39 / 4390.0 9 / 10n/a n/a 83.3 10 / 120.0 0 / 681.6 58 / 716 6.8
CC
6
Cov
91%
to_hash
4.0
on
2.0
off
2.0
CRAP 2.0
InMemoryFeatureCache.pm 100 51 / 51100 6 / 6n/a n/a 100 11 / 110.0 0 / 494.4 68 / 724 4.5
CC
4
Cov
100%
get
3.0
set
2.0
BEGIN
1.0
CRAP 1.6
AbstractFeatureCache.pm 52.9 18 / 34n/a n/a n/a 57.1 4 / 70.0 0 / 350.0 22 / 441 3.6
CC
1
Cov
53%
get
2.0
set
2.0
clear
2.0
CRAP 1.4
FeatureRule.pm 100 89 / 89n/a n/a n/a 100 29 / 290.0 0 / 2483.1 118 / 1421 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
CacheEntry.pm 100 33 / 33n/a n/a n/a 100 7 / 70.0 0 / 393.0 40 / 431 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0