Code

Rating   Name Duplication Size Complexity CRAP Changes Bugs Features
A EnforceContentSecurity::addPolicyHeader() 0 12 3 3 0 0 0
A CspValidationTrait::validateProfiles() 0 9 4 4 0 0 0
A CspValidationTrait::validateProfilesDefault() 0 5 4 4 0 0 0
A CspValidationTrait::validateProfilesConfiguration() 0 12 4 4 0 0 0
A CspValidationException::__construct() 0 5 1 1 1 0 1
A EnforceContentSecurity::loadProfileByKey() 0 5 3 3 0 0 0
A EnforceContentSecurity::decodeConfiguration() 0 8 2 2 0 0 0
A EnforceContentSecurity::mergeProfileWithConfig() 0 6 3 3 0 0 0
A EnforceContentSecurity::encodeConfiguration() 0 11 3 3 0 0 0
A EnforceContentSecurity::getArrayFromValue() 0 4 2 2 0 0 0
A EnforceContentSecurity::setProfiles() 0 3 1 1 0 0 0
A EnforceContentSecurity::loadDefaultProfiles() 0 6 2 2 0 0 0
A EnforceContentSecurity::getAvailableDirectives() 0 6 1 1 0 0 0
A CspValidationTrait::isNotArray() 0 2 1 1 0 0 0
A CspValidationException::getMessages() 0 2 1 1 1 0 1