| Percentage | Lines | ||
|---|---|---|---|
| Client |
|
66 % | 276 |
| HasQuickBooksToken |
|
100 % | 10 |
| Token |
|
100 % | 109 |
| Filter |
|
100 % | 68 |
| Controller |
|
100 % | 71 |
| CRAP Score | Lines | ||
|---|---|---|---|
| Client::getReportService() | 12 | 10 | |
| Client::configureLogging() | 5 | 14 | |
| Client::makeDataService() | 3 | 51 | |
| Client::getDataService() | 3 | 9 | |
| Controller::connect() | 2 | 12 | |
| Client::authorizationUri() | 2 | 5 | |
| Client::exchangeCodeForToken() | 2 | 13 | |
| Filter::handle() | 2 | 10 | |
| Token::getHasValidAccessTokenAttribute() | 2 | 4 | |
| Token::getHasValidRefreshTokenAttribute() | 2 | 4 | |