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 | Google2FA\Support\Base32::base32Decode() | 0 | 3 | 1 | 1 | 1 | 0 | 0 |
A | Google2FA::getOneTimePasswordLength() | 0 | 1 | 1 | 1 | 0 | 0 | 0 |
A | Support\Base32::validateSecret() | 0 | 3 | 1 | 1 | 1 | 0 | 0 |
A | Google2FA\Google2FA::getSecret() | 0 | 1 | 2 | 2 | 0 | 0 | 0 |
A | Google2FA\Google2FA::verifyKey() | 0 | 8 | 1 | 1 | 7 | 3 | 0 |
A | Support\Url::generateGoogleQRCodeUrl() | 0 | 7 | 1 | 2 | 1 | 0 | 0 |
A | Google2FA\Google2FA::getWindow() | 0 | 1 | 2 | 2 | 1 | 1 | 0 |
A | Google2FA\Google2FA::setSecret() | 0 | 1 | 1 | 1 | 0 | 0 | 0 |
A | Support\Base32::checkIsBigEnough() | 0 | 3 | 2 | 2 | 0 | 0 | 0 |
A | Google2FA::setEnforceGoogleAuthenticatorCompatibility() | 0 | 2 | 1 | 1 | 0 | 0 | 0 |
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 |