Rating | Name | Duplication | Size | Complexity | CRAP | Changes | Bugs | Features |
---|---|---|---|---|---|---|---|---|
B | CreateCommentForm::__construct() | 36 | 23 | 1 | 1 | 0 | 0 | 0 |
B | HTMLForm\EditCommentForm::__construct() | 37 | 23 | 1 | 1 | 0 | 0 | 0 |
A | CommentController::editComment() | 7 | 12 | 3 | 12 | 0 | 0 | 0 |
A | CJ\User\User::init() | 0 | 3 | 1 | 1 | 0 | 0 | 0 |
A | CJ\User\User::getUserImg() | 0 | 4 | 1 | 1 | 0 | 0 | 0 |
A | Comment\CommentController::newComment() | 0 | 9 | 2 | 6 | 0 | 0 | 0 |
A | CJ\User\User::isUserAdmin() | 0 | 7 | 3 | 3 | 0 | 0 | 0 |
A | CommentController::removeComment() | 7 | 10 | 3 | 12 | 0 | 0 | 0 |
A | CJ\User\User::verifyPassword() | 0 | 3 | 1 | 1 | 0 | 0 | 0 |
A | EditCommentForm::callbackSubmit() | 0 | 12 | 1 | 1 | 0 | 0 | 0 |
A | CJ\User\User::deleteUser() | 0 | 3 | 1 | 1 | 0 | 0 | 0 |
A | CommentController::renderComments() | 0 | 10 | 1 | 2 | 1 | 0 | 0 |
A | Comment\Comment::deleteComment() | 0 | 3 | 1 | 1 | 0 | 0 | 0 |
A | CreateCommentForm::callbackSubmit() | 0 | 13 | 1 | 2 | 0 | 0 | 0 |
A | CJ\User\User::getLoggedInUser() | 0 | 3 | 2 | 2 | 0 | 0 | 0 |