Percentage | Lines | ||
---|---|---|---|
Ticket |
|
87 % | 64 |
LotteryFactoryDefault |
|
100 % | 7 |
LotteryLcg |
|
100 % | 9 |
CRAP Score | Lines | |
---|---|---|
Ticket::assertValidDivisor() | 3 | 21 |
Ticket::assertValidNumerator() | 2 | 11 |
LotteryFactoryDefault::getLottery() | 1 | 4 |
LotteryLcg::isLucky() | 1 | 6 |
Ticket::__construct() | 1 | 7 |
Ticket::getNumerator() | 1 | 4 |
Ticket::getDivisor() | 1 | 4 |