| Percentage | Lines | ||
|---|---|---|---|
| OauthClients |
|
7 % | 96 |
| OauthAccessTokens |
|
25 % | 45 |
| OauthScopes |
|
33 % | 30 |
| RevokeAccessToken |
|
50 % | 53 |
| RestController |
|
56 % | 63 |
| Module |
|
61 % | 261 |
| Pdo |
|
79 % | 46 |
| Server |
|
83 % | 62 |
| CompositeAuth |
|
88 % | 72 |
| ErrorToExceptionTrait |
|
92 % | 75 |
| CRAP Score | Lines | ||
|---|---|---|---|
| RevokeAccessToken::beforeAction() | 13 | 32 | |
| OauthClients::assureScope() | 12 | 7 | |
| Module::initOauth2Server() | 8 | 51 | |
| Pdo::__construct() | 6 | 36 | |
| Module::bootstrap() | 6 | 9 | |
| RestController::actionAuthorize() | 6 | 10 | |
| ErrorToExceptionTrait::ensureSuccessResponse() | 5 | 15 | |
| CompositeAuth::fetchActionScope() | 4 | 18 | |
| ErrorToExceptionTrait::beforeAction() | 3 | 15 | |
| Server::handleTokenRequest() | 3 | 7 | |