Coverage Report

Statementstmt 7.7% 22 / 285 Branchbran 0.0% 0 / 142 Conditioncond 0.0% 0 / 42 MC/DCmcdc 0.0% 0 / 20 Subroutinesub 9.8% 5 / 51 Podpod 0.0% 0 / 36 totaltotal 4.6% 27 / 576 CC 84 scar 68.7 CC 84 · cov 5% · CRAP 959.9
Prefix: blib/lib/Games/Chess/

Top SCAR

Referee.pm 76.6
CC
52
Cov
8%
ply
2550.0
move
12.0
new_game
2.0
CRAP 2125.8
Piece/Pawn.pm untested 33.9
CC
12
Cov
0%
can_occupy
56.0
can_capture
30.0
new
6.0
CRAP 29.7
Rules.pm untested 23.2
CC
22
Cov
0%
piece
20.0
white
20.0
black
20.0
CRAP 10.2
Piece/General.pm untested 6.9
CC
1
Cov
0%
new
2.0
can_occupy
2.0
can_capture
2.0
CRAP 2.0
1 1 file < 75%
3 3 untested files
< 75% 75-90% 90-100% at 100% untested
File Statementstmt Branchbran Conditioncond MC/DCmcdc Subroutinesub Podpod totaltotal CC SCAR
(root) 9.6 22 / 2270.0 0 / 1200.0 0 / 360.0 0 / 1613.5 5 / 370.0 0 / 295.8 27 / 46573 70.7
CC
73
Cov
6%
CRAP 1174.7
Referee.pm 15.1 22 / 1450.0 0 / 780.0 0 / 360.0 0 / 1655.5 5 / 90.0 0 / 49.3 27 / 28852 76.6
CC
52
Cov
8%
ply
2550.0
move
12.0
new_game
2.0
CRAP 2125.8
Rules.pm untested 0.0 0 / 820.0 0 / 42n/a n/a 0.0 0 / 280.0 0 / 250.0 0 / 17722 23.2
CC
22
Cov
0%
piece
20.0
white
20.0
black
20.0
CRAP 10.2
Piece 0.0 0 / 580.0 0 / 220.0 0 / 60.0 0 / 40.0 0 / 140.0 0 / 70.0 0 / 11112 31.4
CC
12
Cov
0%
CRAP 23.0
Pawn.pm untested 0.0 0 / 420.0 0 / 220.0 0 / 60.0 0 / 40.0 0 / 80.0 0 / 40.0 0 / 8612 33.9
CC
12
Cov
0%
can_occupy
56.0
can_capture
30.0
new
6.0
CRAP 29.7
General.pm untested 0.0 0 / 16n/a n/a n/a 0.0 0 / 60.0 0 / 30.0 0 / 251 6.9
CC
1
Cov
0%
new
2.0
can_occupy
2.0
can_capture
2.0
CRAP 2.0