| Percentage | Lines | ||
|---|---|---|---|
| AbstractService |
|
100 % | 31 |
| LastFm |
|
100 % | 60 |
| Client |
|
100 % | 104 |
| Resource |
|
100 % | 30 |
| ServiceFactory |
|
100 % | 28 |
| LastFmException |
|
100 % | 40 |
| Geo |
|
100 % | 79 |
| GeoService |
|
100 % | 40 |
| Http |
|
100 % | 71 |
| Response |
|
100 % | 22 |
| CRAP Score | Lines | ||
|---|---|---|---|
| Response::send() | 6 | 19 | |
| Client::registerCustomProviders() | 4 | 19 | |
| Client::getServiceFactory() | 3 | 13 | |
| Http::getMessageFactory() | 2 | 4 | |
| Http::getHttpClient() | 2 | 4 | |
| LastFmException::getErrorMessage() | 2 | 6 | |
| Geo::getTopArtists() | 2 | 20 | |
| Geo::getTopTracks() | 2 | 22 | |
| Http::sendRequest() | 2 | 23 | |
| AbstractService::__construct() | 1 | 6 | |