| Percentage | Lines | ||
|---|---|---|---|
| JwtWrapper |
|
85 % | 136 |
| JwtKeySecret |
|
100 % | 38 |
| JwtRsaKey |
|
100 % | 39 |
| CRAP Score | Lines | ||
|---|---|---|---|
| JwtWrapper::extractData() | 4 | 16 | |
| JwtWrapper::getAuthorizationBearer() | 3 | 10 | |
| JwtWrapper::__construct() | 2 | 7 | |
| JwtKeySecret::__construct() | 2 | 3 | |
| JwtWrapper::generateSecret() | 2 | 3 | |
| JwtWrapper::getLeeway() | 2 | 3 | |
| JwtWrapper::setLeeway() | 2 | 3 | |
| JwtKeySecret::getAlghoritm() | 1 | 3 | |
| JwtKeySecret::getPublicKey() | 1 | 3 | |
| JwtKeySecret::getPrivateKey() | 1 | 3 | |