Rating | Name | Duplication | Size | Complexity | CRAP | Changes | Bugs | Features |
---|---|---|---|---|---|---|---|---|
A | Google2FA\Support\QRCode::getQRCodeUrl() | 0 | 15 | 1 | 2 | 2 | 0 | 0 |
A | Google2FA\Google2FA::findValidOTP() | 0 | 9 | 4 | 4.03 | 3 | 0 | 1 |
A | Base32::generateBase32RandomKey() | 0 | 4 | 2 | 2 | 1 | 0 | 0 |
A | Google2FA\Google2FA::getValidAlgorithms() | 0 | 4 | 1 | 1 | 0 | 0 | 0 |
A | Base32::checkForValidCharacters() | 0 | 4 | 2 | 2 | 1 | 0 | 0 |
A | Google2FA\Google2FA::generateSecretKey() | 0 | 1 | 1 | 1 | 1 | 1 | 0 |
A | Google2FA\Google2FA::oathTruncate() | 0 | 6 | 1 | 1 | 4 | 1 | 0 |
A | Google2FA\Google2FA::setKeyRegeneration() | 0 | 1 | 1 | 1 | 0 | 0 | 0 |
A | Base32::isCharCountNotAPowerOfTwo() | 0 | 1 | 1 | 1 | 0 | 0 | 0 |
A | Google2FA\Google2FA::makeTimestamp() | 0 | 3 | 2 | 2 | 2 | 0 | 0 |
A | Google2FA\Support\Base32::charCountBits() | 0 | 1 | 1 | 1 | 0 | 0 | 0 |
A | PragmaRX\Google2FA\Google2FA::oathTotp() | 0 | 8 | 2 | 2.01 | 2 | 0 | 0 |
A | Google2FA\Google2FA::verifyKeyNewer() | 0 | 6 | 1 | 1 | 2 | 0 | 0 |
A | Google2FA\Google2FA::generateHotp() | 0 | 5 | 1 | 1 | 1 | 0 | 0 |
A | Google2FA::setOneTimePasswordLength() | 0 | 1 | 1 | 1 | 0 | 0 | 0 |