Coverage Report

Statementstmt 1.5% 286 / 18003 Branchbran 3.9% 19 / 486 Conditioncond 3.2% 8 / 248 MC/DCmcdc 0.7% 1 / 141 Subroutinesub 13.4% 81 / 603 Podpod 0.0% 0 / 94 totaltotal 2.0% 395 / 19575 CC 353 scar 44.1 CC 353 · cov 2% · CRAP 81.9

Top SCAR

lib/Games/Checkers/PDNParser.pm 58.0
CC
28
Cov
13%
next_record
506.0
new
56.0
error_prefix
2.0
CRAP 329.5
lib/Games/Checkers/Board.pm 56.2
CC
142
Cov
2%
dump
870.0
init
702.0
can_piece_beat
210.0
CRAP 277.3
lib/Games/Checkers/BoardTree.pm 45.7
CC
17
Cov
19%
choose_best_son
210.0
unexpand
6.0
new
6.0
CRAP 96.5
lib/Games/Checkers/Game.pm 41.1
CC
60
Cov
9%
new
210.0
show_result_code
110.0
color_name
56.0
CRAP 60.8
lib/Games/Checkers/CreateMoveList.pm 38.1
CC
22
Cov
27%
new
156.0
gather_move
30.0
gather_move
12.0
CRAP 45.3
12 12 files < 75%
1 file 90-100%
2 2 files 100%
9 9 untested files
< 75% 75-90% 90-100% at 100% untested
File Statementstmt Branchbran Conditioncond MC/DCmcdc Subroutinesub Podpod totaltotal CC SCAR
blib/lib/Games/Checkers/Board 0.0 0 / 16714n/a n/a n/a 0.0 0 / 189n/a 0.0 0 / 169031 6.9
CC
1
Cov
0%
CRAP 2.0
_10x10.pm untested 0.0 0 / 1364n/a n/a n/a 0.0 0 / 21n/a 0.0 0 / 13851 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
_10x8.pm untested 0.0 0 / 964n/a n/a n/a 0.0 0 / 21n/a 0.0 0 / 9851 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
_12x12.pm untested 0.0 0 / 2402n/a n/a n/a 0.0 0 / 21n/a 0.0 0 / 24231 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
_14x14.pm untested 0.0 0 / 3904n/a n/a n/a 0.0 0 / 21n/a 0.0 0 / 39251 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
_16x16.pm untested 0.0 0 / 5958n/a n/a n/a 0.0 0 / 21n/a 0.0 0 / 59791 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
_4x4.pm untested 0.0 0 / 134n/a n/a n/a 0.0 0 / 21n/a 0.0 0 / 1551 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
_6x6.pm untested 0.0 0 / 328n/a n/a n/a 0.0 0 / 21n/a 0.0 0 / 3491 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
_8x10.pm untested 0.0 0 / 958n/a n/a n/a 0.0 0 / 21n/a 0.0 0 / 9791 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
_8x8.pm untested 0.0 0 / 702n/a n/a n/a 0.0 0 / 21n/a 0.0 0 / 7231 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
lib/Games 100 11 / 11n/a n/a n/a 100 3 / 3n/a 100 14 / 141 0.0
CC
1
Cov
100%
CRAP 1.0
Checkers.pm 100 11 / 11n/a n/a n/a 100 3 / 3n/a 100 14 / 141 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
lib/Games/Checkers 21.5 275 / 12783.9 19 / 4863.2 8 / 2480.7 1 / 14118.9 78 / 4110.0 0 / 9414.3 381 / 2658353 46.3
CC
353
Cov
15%
CRAP 102.0
PDNParser.pm 22.5 16 / 710.0 0 / 400.0 0 / 150.0 0 / 962.5 5 / 80.0 0 / 314.3 21 / 14628 58.0
CC
28
Cov
13%
next_record
506.0
new
56.0
error_prefix
2.0
CRAP 329.5
Board.pm 4.1 13 / 3130.0 0 / 1980.0 0 / 880.0 0 / 538.7 4 / 460.0 0 / 422.3 17 / 740142 56.2
CC
142
Cov
2%
dump
870.0
init
702.0
can_piece_beat
210.0
CRAP 277.3
BoardTree.pm 25.8 23 / 890.0 0 / 240.0 0 / 50.0 0 / 346.6 7 / 150.0 0 / 321.5 30 / 13917 45.7
CC
17
Cov
19%
choose_best_son
210.0
unexpand
6.0
new
6.0
CRAP 96.5
Game.pm 16.7 25 / 1490.0 0 / 820.0 0 / 450.0 0 / 2529.6 8 / 270.0 0 / 189.5 33 / 34660 41.1
CC
60
Cov
9%
new
210.0
show_result_code
110.0
color_name
56.0
CRAP 60.8
CreateMoveList.pm 36.7 43 / 1170.0 0 / 380.0 0 / 60.0 0 / 453.8 14 / 260.0 0 / 329.3 57 / 19422 38.1
CC
22
Cov
27%
new
156.0
gather_move
30.0
gather_move
12.0
CRAP 45.3
MoveLocationConstructor.pm 17.7 16 / 900.0 0 / 340.0 0 / 540.0 0 / 2731.2 5 / 160.0 0 / 119.0 21 / 23236 36.8
CC
36
Cov
9%
add_dst
90.0
source
72.0
create_move
42.0
CRAP 39.7
Rules.pm 90.6 29 / 3245.8 11 / 2431.2 5 / 160.0 0 / 975.0 3 / 40.0 0 / 255.1 48 / 8721 33.7
CC
21
Cov
62%
set_variant
34.7
get_main_variants
12.0
BEGIN
1.0
CRAP 29.1
ExpandMoveList.pm 33.3 13 / 390.0 0 / 14n/a n/a 44.4 4 / 90.0 0 / 525.3 17 / 679 30.0
CC
9
Cov
25%
build_continue
42.0
build
20.0
new
2.0
CRAP 20.1
Move.pm 50.0 20 / 4020.0 2 / 1010.0 1 / 100.0 0 / 645.4 5 / 110.0 0 / 733.3 28 / 8410 23.8
CC
10
Cov
38%
dump
30.0
destin
12.0
new
4.4
CRAP 10.8
Iterators.pm 30.1 16 / 530.0 0 / 120.0 0 / 50.0 0 / 335.7 5 / 14n/a 24.1 21 / 879 23.3
CC
9
Cov
23%
increment
30.0
increment
12.0
new
6.0
CRAP 10.2
Constants.pm 40.0 4 / 100.0 0 / 20.0 0 / 20.0 0 / 150.0 1 / 2n/a 29.4 5 / 173 22.4
CC
3
Cov
29%
__ANON__
12.0
BEGIN
1.5
CRAP 9.4
DeclareConstant.pm 12.5 31 / 24775.0 6 / 8100 2 / 2100 1 / 13.5 8 / 224n/a 9.9 48 / 4827 9.2
CC
7
Cov
15%
import
22.4
__ANON__
10.7
__ANON__
2.0
CRAP 2.5
SDL.pm 90.4 19 / 21n/a n/a n/a 100 7 / 7n/a 92.8 26 / 281 0.4
CC
1
Cov
90%
BEGIN
1.3
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
MoveConstants.pm 100 7 / 7n/a n/a n/a 100 2 / 2n/a 100 9 / 91 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0