Coverage Report

Statementstmt 81.8% 594 / 726 Branchbran 50.4% 209 / 414 Conditioncond 58.4% 93 / 159 MC/DCmcdc 47.8% 44 / 92 Subroutinesub 79.5% 163 / 205 Podpod 75.0% 21 / 28 totaltotal 69.2% 1124 / 1624 CC 267 scar 35.8 CC 267 · cov 69% · CRAP 35.7
Prefix: blib/lib/Math/

Top SCAR

Formula/Context.pm 43.7
CC
37
Cov
22%
addFormula
210.0
add
110.0
evaluate
20.0
CRAP 79.1
Formula.pm 41.9
CC
40
Cov
74%
toType
240.0
_build_ast
17.4
evaluate
6.2
CRAP 66.1
Formula/Type.pm 33.0
CC
185
Cov
75%
_to_regexp
200.3
infix
182.0
infix
22.5
CRAP 27.2
Formula/Token.pm 7.7
CC
8
Cov
78%
_compute
7.6
find
2.1
_compute
2.0
CRAP 2.2
3 3 files < 75%
1 1 file 75-90%
< 75% 75-90% 90-100% at 100%
File Statementstmt Branchbran Conditioncond MC/DCmcdc Subroutinesub Podpod totaltotal CC SCAR
(root) 89.3 109 / 12240.3 25 / 6279.1 19 / 2457.1 8 / 1485.7 18 / 2187.5 7 / 874.1 186 / 25140 41.9
CC
40
Cov
74%
CRAP 66.1
Formula.pm 89.3 109 / 12240.3 25 / 6279.1 19 / 2457.1 8 / 1485.7 18 / 2187.5 7 / 874.1 186 / 25140 41.9
CC
40
Cov
74%
toType
240.0
_build_ast
17.4
evaluate
6.2
CRAP 66.1
Formula 80.3 485 / 60452.2 184 / 35254.8 74 / 13546.1 36 / 7878.8 145 / 18470.0 14 / 2068.3 938 / 1373228 34.4
CC
228
Cov
68%
CRAP 31.3
Context.pm 41.1 28 / 689.0 4 / 440.0 0 / 360.0 0 / 1944.4 8 / 1891.6 11 / 1225.8 51 / 19737 43.7
CC
37
Cov
22%
addFormula
210.0
add
110.0
evaluate
20.0
CRAP 79.1
Type.pm 86.0 382 / 44459.0 176 / 29874.4 70 / 9460.7 34 / 5688.2 113 / 12850.0 3 / 675.8 778 / 1026185 33.0
CC
185
Cov
75%
_to_regexp
200.3
infix
182.0
infix
22.5
CRAP 27.2
Token.pm 81.5 75 / 9240.0 4 / 1080.0 4 / 566.6 2 / 363.1 24 / 380.0 0 / 272.6 109 / 1508 7.7
CC
8
Cov
78%
_compute
7.6
find
2.1
_compute
2.0
CRAP 2.2