| CRAP Score | Lines | ||
|---|---|---|---|
| HashHmac::verifyHash() | 6 | 15 | |
| HashHmac::verifyAlgorithm() | 3 | 11 | |
| HashHmac::verify() | 2 | 18 | |
| HashHmac::withPayload() | 2 | 6 | |
| HashHmac::getPayload() | 2 | 3 | |
| Password::verify() | 2 | 7 | |
| Password::needsRehash() | 2 | 7 | |
| Token::create() | 2 | 8 | |
| HashHmac::getAlgorithm() | 1 | 4 | |
| Token::generateRandomBytes() | 1 | 4 | |