| Percentage | Lines | ||
|---|---|---|---|
| PageController |
|
17 % | 95 |
| BlogController |
|
33 % | 184 |
| ContentController |
|
38 % | 673 |
| Content |
|
71 % | 400 |
| ValidContent |
|
71 % | 162 |
| CRAP Score | Lines | ||
|---|---|---|---|
| ContentController::contentForm() | 210 | 125 | |
| BlogController::preparePost() | 30 | 33 | |
| ContentController::removeAction() | 30 | 34 | |
| ContentController::prepareListContent() | 30 | 22 | |
| BlogController::tagAction() | 20 | 13 | |
| ContentController::editAction() | 20 | 24 | |
| ContentController::saveTags() | 20 | 24 | |
| BlogController::indexAction() | 12 | 13 | |
| BlogController::readAction() | 12 | 31 | |
| BlogController::postsToView() | 12 | 17 | |