Rating | Name | Duplication | Size | Complexity | Changes | Bugs | Features |
---|---|---|---|---|---|---|---|
F | Forms\CommentForm::doPostComment() | 0 | 62 | 19 | 5 | 1 | 0 |
C | Forms\CommentForm::__construct() | 0 | 82 | 15 | 5 | 0 | 0 |
B | Comments\Model\Comment::Replies() | 0 | 14 | 9 | 1 | 0 | 0 |
B | CommentingController::redirectBack() | 0 | 16 | 9 | 1 | 0 | 0 |
B | Controllers\CommentingController::getFeed() | 0 | 29 | 8 | 1 | 0 | 0 |
B | CommentsExtension::canPostComment() | 0 | 14 | 8 | 1 | 0 | 0 |
B | CommentsExtension::populateDefaults() | 0 | 17 | 8 | 0 | 0 | 0 |
B | Comments\Model\Comment::getCMSFields() | 0 | 49 | 6 | 1 | 0 | 0 |
B | CommentsExtension::updateSettingsFields() | 0 | 30 | 7 | 0 | 0 | 0 |
B | Admin\CommentAdmin::getEditForm() | 0 | 61 | 5 | 0 | 0 | 0 |
B | CommentsExtensionTest::testUpdateCMSFields() | 0 | 62 | 1 | 0 | 0 | 0 |
B | CommentsGridFieldAction::getColumnContent() | 0 | 22 | 6 | 1 | 0 | 0 |
A | CommentingControllerTest::testCommentsForm() | 0 | 49 | 1 | 0 | 0 | 0 |
A | CommentsExtension::AllVisibleComments() | 0 | 10 | 6 | 0 | 0 | 0 |
A | Comments\Model\Comment::canView() | 0 | 11 | 6 | 1 | 0 | 0 |