Code

Rating   Name Duplication Size Complexity Changes Bugs Features
C CSPViolationsController::getDataForAttribute() 0 32 15 2 1 0
C GridFieldDeleteRelationsButton::handleDelete() 0 41 13 8 2 0
B SecurityHeaderMiddleware::process() 0 26 10 13 7 0
B GridFieldDeleteRelationsValidator::php() 0 24 10 3 0 0
B SecurityHeaderMiddleware::isCSPReportingAvailable() 0 19 7 0 0 0
B CSPViolationsController::index() 0 18 7 1 0 0
B RemoveOldCSPViolationsTask::getDescription() 0 24 6 2 0 0
A SecurityHeaderMiddleware::updateCspHeader() 0 12 6 3 0 0
A GridFieldDeleteRelationsButton::getFilterFields() 0 13 6 1 0 0
A GridFieldDeleteRelationsButton::DeletionForm() 0 24 5 4 0 1
A RemoveUnreferencedCSPDocumentJob::process() 0 23 5 2 1 0
A CSPViolationsController::setDocument() 0 15 5 1 0 0
A GridFieldDeleteRelationsButton::getFieldAsComposite() 0 28 2 7 1 0
A GridFieldDeleteRelationsButton::getHTMLFragments() 0 28 4 1 0 0
A CSPViolationsReport::getReportField() 0 27 1 6 0 0