Rating | Name | Duplication | Size | Complexity | Changes | Bugs | Features |
---|---|---|---|---|---|---|---|
A | Da\TwoFA\Manager::verify() | 0 | 16 | 4 | 0 | 0 | 0 |
A | OneTimePasswordValidator::validate() | 0 | 13 | 4 | 0 | 0 | 0 |
A | Da\TwoFA\Manager::__construct() | 0 | 5 | 3 | 0 | 0 | 0 |
A | SecretValidationTrait::validateSecret() | 0 | 6 | 3 | 0 | 0 | 0 |
A | Validator\SecretKeyValidator::validate() | 0 | 14 | 3 | 0 | 0 | 0 |
A | SecretKeyValidator::checkGoogleAuthenticatorCompatibility() | 0 | 9 | 3 | 0 | 0 | 0 |
A | SecretKeyValidator::checkForValidCharacters() | 0 | 6 | 2 | 0 | 0 | 0 |
A | TwoFA\Support\Encoder::strPadBase32() | 0 | 8 | 2 | 0 | 0 | 0 |
A | TwoFA\Support\Encoder::__construct() | 0 | 4 | 2 | 0 | 0 | 0 |
A | Encoder::generateBase32RandomKey() | 0 | 9 | 2 | 0 | 0 | 0 |
A | Manager::enableGoogleAuthenticatorCompatibility() | 0 | 12 | 2 | 0 | 0 | 0 |
A | Da\TwoFA\Manager::getCounter() | 0 | 4 | 1 | 0 | 0 | 0 |
A | Support\Encoder::getRandomNumber() | 0 | 4 | 1 | 0 | 0 | 0 |
A | SecretKeyValidator::__construct() | 0 | 4 | 1 | 0 | 0 | 0 |
A | Da\TwoFA\Manager::setTokenLength() | 0 | 6 | 1 | 0 | 0 | 0 |