Percentage | Lines | ||
---|---|---|---|
SinglePageController |
|
0 % | 22 |
ShortenerCommand |
|
67 % | 29 |
LinkObserver |
|
69 % | 41 |
ShortenerServiceProvider |
|
97 % | 75 |
Shortener |
|
100 % | 7 |
ModifiesUrlRequestData |
|
100 % | 30 |
Link |
|
100 % | 70 |
Shortener |
|
100 % | 27 |
TouchesTimestamps |
|
100 % | 11 |
LinkController |
|
100 % | 54 |
CRAP Score | Lines | ||
---|---|---|---|
SinglePageController::show() | 20 | 16 | |
ModifiesUrlRequestData::handle() | 3 | 20 | |
LinkStatsController::show() | 3 | 17 | |
ShortenerCommand::handle() | 2 | 12 | |
ShortenerServiceProvider::boot() | 2 | 47 | |
Link::getCode() | 2 | 8 | |
Link::shortenedUrl() | 2 | 8 | |
LinkObserver::deleted() | 2 | 5 | |
Shortener::toBase() | 2 | 14 | |
ShortenerServiceProvider::register() | 2 | 14 | |