Code

Rating   Name Duplication Size Complexity CRAP Changes Bugs Features
B controllers\TotpController::actionEnable() 0 35 10 110 0 0 0
B AllowedIpsController::actionNotAllowedIp() 0 35 10 110 0 0 0
B controllers\TotpController::actionDisable() 0 22 6 42 0 0 0
A controllers\TotpController::behaviors() 0 42 1 2 0 0 0
A AllowedIpsController::behaviors() 0 36 4 20 0 0 0
A hiqdev\yii2\mfa\base\Totp::getSecret() 0 16 5 30 0 0 0
A controllers\TotpController::actionCheck() 0 24 4 20 0 0 0
A ValidateMfaBehavior::beforeLogin() 0 20 3 12 0 0 0
A TotpController::actionApiEnable() 0 19 3 12 0 0 0
A TotpController::actionApiDisable() 0 18 3 12 0 0 0
A ValidateAuthenticationFilter::beforeAction() 0 17 4 20 0 0 0
A hiqdev\yii2\mfa\Module::validateIps() 0 16 3 12 0 0 0
A hiqdev\yii2\mfa\base\Totp::getWorker() 0 12 2 6 0 0 0
A widgets\BackLinkWidget::registerJs() 0 12 1 2 0 0 0
A hiqdev\yii2\mfa\Module::validateTotp() 0 11 3 12 0 0 0