Rating | Name | Duplication | Size | Complexity | CRAP | Changes | Bugs | Features |
---|---|---|---|---|---|---|---|---|
B | yii2\backend\widgets\Alert::init() | 0 | 33 | 6 | ? | 0 | 0 | 0 |
A | tests\TestCase::createTestData() | 0 | 53 | 2 | ? | 0 | 0 | 0 |
A | backend\models\Admin::beforeSave() | 0 | 14 | 6 | 12.17 | 0 | 0 | 0 |
A | tests\TestCase::mockApplication() | 0 | 43 | 1 | ? | 0 | 0 | 0 |
A | tests\AdminModelTest::testRules() | 0 | 40 | 1 | ? | 0 | 0 | 0 |
A | SiteController::actionResetPassword() | 0 | 18 | 5 | ? | 0 | 0 | 0 |
A | yii2\backend\models\Admin::rules() | 0 | 30 | 1 | 1 | 0 | 0 | 0 |
A | ResetPasswordFormTest::testResetPassword() | 0 | 25 | 3 | ? | 0 | 0 | 0 |
A | PasswordResetRequestForm::sendEmail() | 0 | 23 | 4 | 4.04 | 0 | 0 | 0 |
A | backend\tests\models\User::rules() | 0 | 22 | 1 | ? | 0 | 0 | 0 |
A | controllers\SiteController::behaviors() | 21 | 21 | 1 | ? | 0 | 0 | 0 |
A | controllers\SiteController::behaviors() | 21 | 21 | 1 | 2 | 0 | 0 | 0 |
A | ChangePasswordFormTest::testVerifyOldPassword() | 0 | 20 | 1 | ? | 0 | 0 | 0 |
A | controllers\AdminController::behaviors() | 20 | 20 | 1 | ? | 0 | 0 | 0 |
A | AdminModelTest::setUpBeforeClass() | 0 | 20 | 1 | ? | 0 | 0 | 0 |