Rating | Name | Duplication | Size | Complexity | CRAP | Changes | Bugs | Features |
---|---|---|---|---|---|---|---|---|
B | Controllers\DocumentCrudController::setup() | 0 | 82 | 2 | 6 | 0 | 0 | 0 |
A | Controllers\DocumentApiController::index() | 0 | 18 | 4 | 20 | 0 | 0 | 0 |
A | DocumentsServiceProvider::publishFiles() | 0 | 17 | 1 | 2 | 0 | 0 | 0 |
A | DocumentTransformer::includeBody() | 0 | 14 | 4 | 20 | 0 | 0 | 0 |
A | DocumentsServiceProvider::setupRoutes() | 0 | 12 | 2 | 6 | 0 | 0 | 0 |
A | Requests\DocumentUpdateRequest::rules() | 12 | 12 | 1 | 2 | 0 | 0 | 0 |
A | Requests\DocumentRequest::rules() | 12 | 12 | 1 | 2 | 0 | 0 | 0 |
A | DocumentsServiceProvider::boot() | 0 | 9 | 1 | 2 | 0 | 0 | 0 |
A | DocumentCrudController::bodyFieldType() | 0 | 4 | 1 | 2 | 0 | 0 | 0 |
A | Requests\DocumentRequest::attributes() | 8 | 8 | 1 | 2 | 0 | 0 | 0 |
A | DocumentsServiceProvider::register() | 0 | 6 | 1 | 2 | 0 | 0 | 0 |
A | DocumentCrudController::bodyFieldAttributesLabel() | 0 | 4 | 1 | 2 | 0 | 0 | 0 |
A | Requests\DocumentRequest::messages() | 6 | 6 | 1 | 2 | 0 | 0 | 0 |
A | DocumentTransformer::single_line_breaks() | 0 | 4 | 1 | 2 | 0 | 0 | 0 |
A | DocumentCrudController::bodyFieldAttributes() | 0 | 5 | 1 | 2 | 0 | 0 | 0 |