Code

Rating   Name Duplication Size Complexity CRAP Changes Bugs Features
B TokenValidator::validateAttribute() 0 17 7 7.02 5 0 1
A Repositories\TokenRepository::send() 0 14 4 4 1 0 0
A Repositories\TokenRepository::verify() 0 13 4 4 1 0 0
A Repositories\TokenRepository::push() 0 9 2 2 1 0 0
A m170913_082400_create_token_table::up() 0 9 1 ? 0 0 0
A TokenRepositoryConfig::getExpirePeriod() 0 2 2 6 0 0 0
A Yii\Models\Token::setRecipient() 0 2 1 1 0 0 0
A m241125_122400_alter_token_table::up() 0 4 1 ? 1 0 0
A InvalidRecipientException::__construct() 0 3 1 2 1 0 0
A Repositories\TokenRepository::pull() 0 5 1 1 1 0 0
A Models\Token::increaseVerifyCount() 0 2 1 2 0 0 0
A Entities\TokenableEntity::getTokenData() 0 1 1 1 1 0 0
A Services\TokenGenerator::__construct() 0 1 1 2 2 0 0
A Models\Token::increaseDeliveryCount() 0 2 1 1 0 0 0
A Entities\TokenableEntity::getRecipient() 0 1 1 1 0 0 0