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 | Controllers\DocumentCrudController::store() | 0 | 8 | 1 | 2 | 0 | 0 | 0 |
A | Requests\DocumentRequest::authorize() | 5 | 5 | 1 | 2 | 0 | 0 | 0 |
A | Document::getTranslatedTypeAttribute() | 0 | 4 | 1 | 2 | 0 | 0 | 0 |
A | DocumentCrudController::update() | 0 | 8 | 1 | 2 | 0 | 0 | 0 |
A | DocumentUpdateRequest::attributes() | 8 | 8 | 1 | 2 | 0 | 0 | 0 |
A | DocumentCrudController::getTypeOptions() | 0 | 8 | 1 | 2 | 0 | 0 | 0 |
A | DocumentTransformer::transform() | 0 | 8 | 1 | 2 | 0 | 0 | 0 |