Percentage | Lines | ||
---|---|---|---|
TokenPool |
|
88 % | 207 |
ReauthenticateMiddleware |
|
91 % | 118 |
ClientFactory |
|
100 % | 65 |
Middleware |
|
100 % | 28 |
Tenant |
|
100 % | 113 |
Token |
|
100 % | 200 |
RequestSigner |
|
100 % | 47 |
CRAP Score | Lines | ||
---|---|---|---|
Token::addServiceCatalog() | 6 | 23 | |
TokenPool::getToken() | 6 | 23 | |
Token::getServiceCatalog() | 5 | 18 | |
Token::create() | 5 | 32 | |
ReauthenticateMiddleware::onRejected() | 3 | 16 | |
TokenPool::getEndpointUrlFromToken() | 3 | 15 | |
TokenPool::requestToken() | 3 | 29 | |
Token::jsonSerialize() | 3 | 24 | |
RequestSigner::signRequest() | 3 | 23 | |
TokenPool::getTokenId() | 2 | 8 | |