Percentage | Lines | ||
---|---|---|---|
FixDiscountStrategy |
|
100 % | 25 |
DatabaseServiceProviders |
|
100 % | 26 |
AdditionCount |
|
100 % | 11 |
PercentageStrategy |
|
100 % | 21 |
RedisServiceProvider |
|
100 % | 13 |
Validate |
|
100 % | 18 |
ChangeCount |
|
100 % | 15 |
SubtractionCount |
|
100 % | 14 |
File |
|
100 % | 36 |
Kernel |
|
100 % | 60 |
CRAP Score | Lines | ||
---|---|---|---|
RedisDriver::add() | 4 | 18 | |
DatabaseDriver::add() | 4 | 19 | |
DatabaseDriver::discount() | 4 | 23 | |
Kernel::loadCoreServiceProvider() | 4 | 8 | |
DatabaseDriver::remove() | 4 | 21 | |
config() | 3 | 9 | |
app() | 3 | 8 | |
Validate::validate() | 3 | 8 | |
RedisDriver::change() | 3 | 17 | |
RedisDriver::addRow() | 3 | 6 | |