Coverage Report

Statementstmt 33.2% 128 / 385 Branchbran 14.0% 9 / 64 Conditioncond 3.5% 2 / 57 MC/DCmcdc 0.0% 0 / 32 Subroutinesub 40.5% 28 / 69 Podpod 0.0% 0 / 43 totaltotal 25.6% 167 / 650 CC 76 scar 44.8 CC 76 · cov 27% · CRAP 88.0
Prefix: blib/lib/Games/Tournament/

Top SCAR

BlackJack/Game.pm 55.1
CC
32
Cov
7%
playRound
506.0
setupPlayerScenario
30.0
new
6.0
CRAP 247.1
BlackJack/Utilities.pm 37.2
CC
10
Cov
14%
handValue
72.0
handStr
12.0
firstLetter
2.0
CRAP 41.2
BlackJack.pm 29.2
CC
6
Cov
51%
run_example_bj_game
42.0
BEGIN
1.0
BEGIN
1.0
CRAP 18.6
BlackJack/Player/DealerPlayer.pm 24.7
CC
4
Cov
46%
decide_simple
20.0
BEGIN
1.0
BEGIN
1.0
CRAP 11.9
BlackJack/Shoe.pm 19.3
CC
21
Cov
56%
maybeNoticeCards
20.0
deal
12.0
setShoeSize
7.1
CRAP 6.9
7 7 files < 75%
2 2 untested files
< 75% 75-90% 90-100% at 100% untested
File Statementstmt Branchbran Conditioncond MC/DCmcdc Subroutinesub Podpod totaltotal CC SCAR
(root) 61.2 30 / 490.0 0 / 40.0 0 / 60.0 0 / 388.8 8 / 90.0 0 / 152.7 38 / 726 29.2
CC
6
Cov
51%
CRAP 18.6
BlackJack.pm 61.2 30 / 490.0 0 / 40.0 0 / 60.0 0 / 388.8 8 / 90.0 0 / 152.7 38 / 726 29.2
CC
6
Cov
51%
run_example_bj_game
42.0
BEGIN
1.0
BEGIN
1.0
CRAP 18.6
BlackJack 28.1 79 / 28117.3 9 / 524.3 2 / 460.0 0 / 2631.9 15 / 470.0 0 / 3821.4 105 / 49065 47.1
CC
65
Cov
24%
CRAP 110.7
Game.pm 10.2 12 / 1170.0 0 / 260.0 0 / 270.0 0 / 1520.0 3 / 150.0 0 / 127.0 15 / 21232 55.1
CC
32
Cov
7%
playRound
506.0
setupPlayerScenario
30.0
new
6.0
CRAP 247.1
Utilities.pm 18.3 9 / 490.0 0 / 80.0 0 / 60.0 0 / 433.3 2 / 60.0 0 / 414.2 11 / 7710 37.2
CC
10
Cov
14%
handValue
72.0
handStr
12.0
firstLetter
2.0
CRAP 41.2
Shoe.pm 58.5 48 / 8256.2 9 / 1625.0 2 / 80.0 0 / 453.8 7 / 130.0 0 / 1248.8 66 / 13521 19.3
CC
21
Cov
56%
maybeNoticeCards
20.0
deal
12.0
setShoeSize
7.1
CRAP 6.9
Player.pm 30.3 10 / 330.0 0 / 20.0 0 / 50.0 0 / 323.0 3 / 130.0 0 / 1019.7 13 / 665 15.1
CC
5
Cov
25%
auto_count_cards
12.0
scenario
6.0
hand
6.0
CRAP 4.5
BlackJack/Player 34.5 19 / 550.0 0 / 80.0 0 / 50.0 0 / 338.4 5 / 130.0 0 / 427.2 24 / 887 19.2
CC
7
Cov
28%
CRAP 6.8
DealerPlayer.pm 64.7 11 / 170.0 0 / 40.0 0 / 30.0 0 / 275.0 3 / 40.0 0 / 145.1 14 / 314 24.7
CC
4
Cov
46%
decide_simple
20.0
BEGIN
1.0
BEGIN
1.0
CRAP 11.9
ExamplePlayer1.pm untested 0.0 0 / 80.0 0 / 2n/a n/a 0.0 0 / 30.0 0 / 10.0 0 / 142 13.9
CC
2
Cov
0%
decide_simple
6.0
BEGIN
2.0
BEGIN
2.0
CRAP 4.0
HumanPlayer.pm untested 0.0 0 / 190.0 0 / 2n/a n/a 0.0 0 / 30.0 0 / 10.0 0 / 252 13.9
CC
2
Cov
0%
decide_simple
6.0
BEGIN
2.0
BEGIN
2.0
CRAP 4.0
ExamplePlayer2.pm 72.7 8 / 11n/a 0.0 0 / 20.0 0 / 166.6 2 / 30.0 0 / 155.5 10 / 182 12.5
CC
2
Cov
62%
decide_simple
6.0
BEGIN
1.0
BEGIN
1.0
CRAP 3.5