Percentage | Lines | ||
---|---|---|---|
|
64 % | 45 | |
Disable2FAHandler |
|
100 % | 15 |
|
100 % | 16 | |
VerifyPasswordHandler |
|
100 % | 15 |
CreateIdentityHandler |
|
100 % | 24 |
Enable2FAHandler |
|
100 % | 15 |
DeleteIdentity |
|
100 % | 12 |
CreateIdentity |
|
100 % | 26 |
DeleteIdentityHandler |
|
100 % | 14 |
ChangePasswordHandler |
|
100 % | 15 |
CRAP Score | Lines | ||
---|---|---|---|
Identity::validate() | 4 | 27 | |
Email::__construct() | 2 | 7 | |
VerifyPasswordHandler::__invoke() | 2 | 6 | |
CreateIdentityHandler::__invoke() | 2 | 15 | |
Email::not() | 2 | 2 | |
Email::and() | 2 | 2 | |
Email::or() | 2 | 2 | |
Validate2FACodeHandler::__invoke() | 2 | 6 | |
Code::__construct() | 2 | 7 | |
Password::__construct() | 2 | 7 | |