Rating | Name | Duplication | Size | Complexity | Changes | Bugs | Features |
---|---|---|---|---|---|---|---|
A | comments\widgets\Comment::init() | 0 | 14 | 5 | 6 | 1 | 1 |
A | models\CommentModel::behaviors() | 0 | 25 | 1 | 3 | 0 | 0 |
A | m010101_100001_init_comment::up() | 0 | 18 | 2 | 1 | 0 | 0 |
A | models\search\CommentSearch::search() | 0 | 17 | 2 | 0 | 0 | 0 |
A | controllers\DefaultController::behaviors() | 0 | 17 | 1 | 1 | 0 | 0 |
A | yii2mod\comments\widgets\Comment::run() | 0 | 15 | 1 | 6 | 0 | 2 |
A | comments\models\CommentModel::getTree() | 0 | 14 | 3 | 5 | 0 | 3 |
A | models\CommentModel::attributeLabels() | 0 | 14 | 1 | 2 | 0 | 0 |
A | DefaultController::actionDelete() | 0 | 10 | 2 | 2 | 0 | 0 |
A | DefaultController::actionCreate() | 0 | 10 | 3 | 3 | 0 | 0 |
A | CommentModel::validateParentID() | 0 | 10 | 3 | 2 | 0 | 1 |
A | comments\models\CommentModel::rules() | 0 | 9 | 1 | 1 | 0 | 0 |
A | models\CommentModel::getAuthors() | 0 | 9 | 1 | 3 | 2 | 1 |
A | models\CommentModel::getPostedDate() | 0 | 1 | 1 | 1 | 0 | 0 |
A | models\CommentModel::saveComment() | 0 | 7 | 3 | 0 | 0 | 0 |