Percentage | Lines | ||
---|---|---|---|
FlashServiceProvider |
|
60 % | 17 |
FlashMessages |
|
63 % | 22 |
FlashData |
|
70 % | 58 |
CRAP Score | Lines | ||
---|---|---|---|
flashMessages() | 12 | 11 | |
FlashMessages::add() | 5 | 15 | |
flashData() | 3 | 11 | |
FlashData::read() | 3 | 8 | |
FlashServiceProvider::provides() | 2 | 3 | |
flash_add() | 2 | 3 | |
flash_success() | 2 | 3 | |
flash_error() | 2 | 3 | |
flash_info() | 2 | 3 | |
FlashData::clear() | 2 | 3 | |