Rating | Name | Duplication | Size | Complexity | CRAP | Changes | Bugs | Features |
---|---|---|---|---|---|---|---|---|
C | Comments\forms\CommentCreateForm::save() | 0 | 22 | 8 | 72 | 4 | 0 | 2 |
B | CommentListWidget::processDelete() | 0 | 15 | 5 | 30 | 5 | 0 | 2 |
B | widgets\CommentFormWidget::run() | 0 | 16 | 4 | 20 | 5 | 0 | 2 |
B | widgets\CommentListWidget::run() | 0 | 17 | 2 | 6 | 6 | 0 | 2 |
A | m150106_122229_comments::safeUp() | 0 | 17 | 2 | 6 | 3 | 1 | 0 |
A | Comments\forms\CommentCreateForm::init() | 0 | 12 | 4 | 20 | 2 | 0 | 1 |
A | Comments\models\Comment::canUpdate() | 8 | 5 | 4 | 20 | 4 | 0 | 1 |
A | Comments\models\Comment::canDelete() | 8 | 5 | 4 | 20 | 4 | 0 | 1 |
A | yii\module\Comments\Module::init() | 0 | 5 | 2 | 2.09 | 4 | 0 | 2 |
A | module\Comments\models\Comment::find() | 0 | 4 | 1 | 2 | 3 | 0 | 1 |
A | Comments\models\Comment::canCreate() | 0 | 4 | 2 | 6 | 3 | 0 | 1 |
A | Comments\models\Comment::behaviors() | 0 | 4 | 1 | 2 | 3 | 2 | 0 |
A | forms\CommentCreateForm::rules() | 0 | 7 | 1 | 2 | 4 | 0 | 2 |
A | Comments\models\Comment::rules() | 0 | 7 | 1 | 2 | 1 | 0 | 0 |
A | Comments\Module::defineModelClasses() | 0 | 5 | 1 | 1 | 2 | 0 | 1 |