Coverage Report

Statementstmt 95.9% 1031 / 1075 Branchbran 86.6% 421 / 486 Conditioncond 72.8% 129 / 177 MC/DCmcdc 56.4% 57 / 101 Subroutinesub 92.9% 185 / 199 Podpod 97.5% 80 / 82 totaltotal 89.7% 1903 / 2120 CC 345 scar 21.4 CC 345 · cov 91% · CRAP 8.5
Prefix: blib/lib/Game/

Top SCAR

Backgammon/Notation.pm 26.0
CC
25
Cov
96%
parse_turn
20.0
_place
6.0
BEGIN
1.0
CRAP 13.4
Backgammon/Terminal.pm 24.5
CC
150
Cov
87%
run
44.6
_pick_turn
24.6
BUILD
21.7
CRAP 11.6
Backgammon.pm 22.1
CC
45
Cov
97%
from_text
22.0
play
7.0
replay
5.0
CRAP 9.2
Backgammon/Rules.pm 20.7
CC
29
Cov
98%
legal_turns
11.0
single_moves
11.0
_walk
6.0
CRAP 7.9
Backgammon/Result.pm 17.7
CC
11
Cov
67%
points
12.0
loser
6.0
is_gammon
6.0
CRAP 5.9
1 1 file < 75%
4 4 files 75-90%
7 7 files 90-100%
< 75% 75-90% 90-100% at 100%
File Statementstmt Branchbran Conditioncond MC/DCmcdc Subroutinesub Podpod totaltotal CC SCAR
(root) 100 158 / 15892.6 63 / 6881.8 9 / 1166.6 4 / 6100 25 / 2590.9 10 / 1196.4 269 / 27945 22.1
CC
45
Cov
97%
CRAP 9.2
Backgammon.pm 100 158 / 15892.6 63 / 6881.8 9 / 1166.6 4 / 6100 25 / 2590.9 10 / 1196.4 269 / 27945 22.1
CC
45
Cov
97%
from_text
22.0
play
7.0
replay
5.0
CRAP 9.2
Backgammon 95.2 873 / 91785.6 358 / 41872.2 120 / 16655.7 53 / 9591.9 160 / 17498.5 70 / 7188.7 1634 / 1841301 21.3
CC
301
Cov
90%
CRAP 8.4
Notation.pm 100 55 / 5596.4 27 / 2886.3 19 / 2276.9 10 / 13100 9 / 9100 2 / 294.5 122 / 12925 26.0
CC
25
Cov
96%
parse_turn
20.0
_place
6.0
BEGIN
1.0
CRAP 13.4
Terminal.pm 93.6 370 / 39582.1 179 / 21868.6 57 / 8352.0 26 / 5093.9 62 / 6693.3 14 / 1585.6 708 / 827150 24.5
CC
150
Cov
87%
run
44.6
_pick_turn
24.6
BUILD
21.7
CRAP 11.6
Rules.pm 100 91 / 9195.2 40 / 4283.3 5 / 666.6 2 / 3100 10 / 10100 3 / 397.4 151 / 15529 20.7
CC
29
Cov
98%
legal_turns
11.0
single_moves
11.0
_walk
6.0
CRAP 7.9
Result.pm 82.1 23 / 2844.4 8 / 18n/a n/a 55.5 5 / 9100 6 / 668.8 42 / 6111 17.7
CC
11
Cov
67%
points
12.0
loser
6.0
is_gammon
6.0
CRAP 5.9
Bot.pm 100 79 / 7996.6 29 / 30100 9 / 9100 4 / 4100 14 / 14100 5 / 599.2 140 / 14126 16.5
CC
26
Cov
99%
choose
9.0
blot_exposure
8.0
score
4.0
CRAP 5.2
Dice.pm 97.6 41 / 4280.0 16 / 2033.3 2 / 60.0 0 / 4100 8 / 8100 3 / 384.3 70 / 8314 15.1
CC
14
Cov
87%
roll_for
7.0
_faces
6.0
opening_for
4.0
CRAP 4.5
Turn.pm 77.7 35 / 45100 12 / 1283.3 5 / 675.0 3 / 470.0 7 / 10100 7 / 782.1 69 / 8411 14.1
CC
11
Cov
83%
notation
7.0
pips_used
6.0
is_doubles
3.0
CRAP 4.1
Error.pm 95.2 20 / 21100 2 / 255.5 5 / 920.0 1 / 580.0 4 / 5100 2 / 277.2 34 / 445 12.6
CC
5
Cov
84%
message
5.3
stringify
2.0
BEGIN
1.0
CRAP 3.5
Board.pm 100 110 / 11090.6 29 / 3253.8 7 / 1333.3 2 / 6100 30 / 30100 21 / 2193.8 199 / 21228 11.1
CC
28
Cov
94%
index_for
9.0
consistent
5.1
all_home
4.0
CRAP 3.0
Move.pm 95.6 22 / 23100 10 / 10100 6 / 6100 3 / 387.5 7 / 8100 5 / 596.3 53 / 558 10.3
CC
8
Cov
97%
same_as
5.0
is_bar
2.0
is_off
2.0
CRAP 2.8
Shots.pm 96.4 27 / 28100 6 / 683.3 5 / 666.6 2 / 380.0 4 / 5100 2 / 292.0 46 / 504 9.7
CC
4
Cov
95%
shots_at
4.0
table
2.0
BEGIN
1.0
CRAP 2.6