Percentage | Lines | ||
---|---|---|---|
OtpRoutes |
|
100 % | 11 |
NumericNo0PasswordGenerator |
|
100 % | 28 |
StringPasswordGenerator |
|
100 % | 12 |
OtpService |
|
100 % | 188 |
OtpFacade |
|
100 % | 10 |
Encryptor |
|
100 % | 12 |
OtpController |
|
100 % | 101 |
NumericPasswordGenerator |
|
100 % | 43 |
Token |
|
100 % | 323 |
Otp |
|
100 % | 74 |
CRAP Score | Lines | ||
---|---|---|---|
OtpController::store() | 5 | 39 | |
Token::__construct() | 5 | 21 | |
Otp::handle() | 5 | 30 | |
PasswordGeneratorManager::register() | 5 | 16 | |
TokenNotification::via() | 5 | 9 | |
OtpService::__construct() | 4 | 32 | |
PasswordGeneratorManager::createGeneratorFromString() | 3 | 16 | |
OtpService::create() | 3 | 10 | |
Token::retrieveByAttributes() | 3 | 19 | |
Token::persist() | 3 | 32 | |