Rating | Name | Duplication | Size | Complexity | Changes | Bugs | Features |
---|---|---|---|---|---|---|---|
C | cmdotcom\Auth\Process\OTP::__construct() | 0 | 20 | 9 | 0 | 0 | 0 |
B | cmdotcom\Auth\Process\OTP::process() | 0 | 25 | 7 | 0 | 0 | 0 |
B | cmdotcom\Controller\OTP::validateCode() | 0 | 34 | 6 | 0 | 0 | 0 |
B | cmdotcom\Utils\OTPClient::sendCode() | 0 | 64 | 4 | 0 | 0 | 0 |
A | cmdotcom\Controller\OTP::sendCode() | 0 | 28 | 5 | 1 | 0 | 0 |
A | cmdotcom\Controller\OTP::promptResend() | 0 | 15 | 5 | 0 | 0 | 0 |
A | cmdotcom\Utils\OTPClient::verifyCode() | 0 | 27 | 2 | 0 | 0 | 0 |
A | cmdotcom\Controller\OTP::enterCode() | 0 | 10 | 4 | 0 | 0 | 0 |
A | PhoneNumber::sanitizePhoneNumber() | 0 | 10 | 4 | 0 | 0 | 0 |
A | cmdotcom\Controller\OTP::__construct() | 0 | 4 | 1 | 0 | 0 | 0 |
A | cmdotcom\Utils\OTPClient::__construct() | 0 | 1 | 1 | 0 | 0 | 0 |
A | cmdotcom\Controller\OTP::setLogger() | 0 | 1 | 1 | 0 | 0 | 0 |
A | Process\OTP::getMobilePhoneAttribute() | 0 | 8 | 1 | 0 | 0 | 0 |
A | cmdotcom\Controller\OTP::setHttpUtils() | 0 | 1 | 1 | 0 | 0 | 0 |
A | cmdotcom\Controller\OTP::setAuthState() | 0 | 1 | 1 | 0 | 0 | 0 |