Classes

Coverage Distribution

Complexity

Insufficient Coverage

Class Coverage
Drupal\ldap_servers\Form\ServerForm0%
Drupal\ldap_query\Plugin\views\field\LdapVariableImageAttribute0%
Drupal\ldap_query\Controller\QueryController0%
Drupal\ldap_query\Form\QueryEntityDeleteForm0%
Drupal\ldap_query\Form\QueryEntityForm0%
Drupal\ldap_query\Form\QueryTestForm0%
Drupal\ldap_query\Plugin\views\argument\LdapAttribute0%
Drupal\ldap_query\Plugin\views\argument\LdapVariableAttribute0%
Drupal\ldap_query\Plugin\views\field\LdapAttribute0%
Drupal\ldap_query\Plugin\views\filter\LdapAttribute0%
Drupal\ldap_servers\Form\ServerTestForm0%
Drupal\ldap_query\Plugin\views\filter\LdapVariableAttribute0%
Drupal\authorization\AuthorizationProfileListBuilder0%
Drupal\ldap_query\QueryEntityListBuilder0%
Drupal\ldap_servers\Form\DebuggingReviewForm0%
Drupal\ldap_servers\Form\LdapDebugSettings0%
Drupal\ldap_servers\Form\ServerDeleteForm0%
Drupal\ldap_servers\Form\ServerEnableDisableForm0%
Drupal\ldap_servers\ServerListBuilder0%
Drupal\ldap_authentication\Plugin\Derivative\DynamicUserHelpLink0%
Drupal\ldap_authentication\Form\LdapAuthenticationProfileUpdateForm0%
Drupal\ldap_user\Processor\GroupUserUpdateProcessor0%
Drupal\ldap_sso\Form\LdapSsoAdminForm0%
Drupal\ldap_sso\Controller\LoginController0%
Drupal\authorization\Form\AuthorizationProfileDeleteForm0%
Drupal\authorization\Form\AuthorizationProfileForm0%
Drupal\authorization\Form\AuthorizationSettingsForm0%
Drupal\ldap_authentication\Form\LdapAuthenticationAdminForm0%
Drupal\authorization\Provider\ProviderPluginBase0%
Drupal\ldap_user\Form\LdapUserTestForm0%
Drupal\ldap_user\Form\LdapUserMappingToLdapForm0%
Drupal\ldap_user\Form\LdapUserMappingToDrupalForm0%
Drupal\ldap_sso\ServerVariableLookup0%
Drupal\ldap_user\Form\LdapUserMappingBaseForm0%
Drupal\ldap_authentication\Controller\LoginValidatorSso0%
Drupal\ldap_query\Plugin\views\VariableAttributeCustomization0%
Drupal\ldap_sso\RedirectResponseWithCookie0%
Drupal\ldap_sso\LdapSsoBootSubscriber2%
Drupal\ldap_servers\LdapTransformationTraits7%
Drupal\ldap_authentication\Routing\EmailTemplateService8%
Drupal\ldap_servers\LdapBridge9%
Drupal\authorization\Form\SubFormState9%
Drupal\ldap_servers\LdapGroupManager10%
Drupal\ldap_query\Plugin\views\query\LdapQuery13%
Drupal\ldap_authentication\Access\UserHelpTabAccess26%
Drupal\ldap_authentication\Routing\RouteSubscriber30%
Drupal\ldap_authentication\Controller\LoginValidatorBase34%
Drupal\ldap_user\EventSubscriber\LdapEntryDeletionSubscriber39%
Drupal\authorization_test\Plugin\authorization\Consumer\Dummy40%
Drupal\ldap_servers\LdapBaseManager40%
Drupal\authorization\EventSubscriber\LoginSubscriber50%
Drupal\ldap_servers\LdapUserManager54%
Drupal\ldap_servers\Mapping56%
Drupal\ldap_user\EventSubscriber\LdapEntryProvisionSubscriber57%
Drupal\authorization\Plugin\ConfigurableAuthorizationPluginBase58%
Drupal\authorization\AuthorizationController59%
Drupal\authorization\Consumer\ConsumerPluginBase60%
Drupal\ldap_user\Processor\DrupalUserProcessor61%
Drupal\authorization\EventSubscriber\RegisterSubscriber66%
Drupal\authorization\EventSubscriber\AuthmapAlterSubscriber66%
Drupal\ldap_authentication\Controller\LoginValidatorLoginForm67%
Drupal\ldap_query\Entity\QueryEntity72%
Drupal\authorization\Entity\AuthorizationProfile74%
Drupal\ldap_user\Processor\OrphanProcessor81%
Drupal\ldap_servers\Entity\Server81%
Drupal\ldap_servers\Logger\LdapDetailLog83%
Drupal\ldap_user\Plugin\Validation\Constraint\LdapProtectedUserFieldConstraintValidator84%
Drupal\authorization\AuthorizationResponse85%
Drupal\ldap_servers\Processor\TokenProcessor86%
Drupal\ldap_servers\Helper\CredentialsStorage88%

Project Risks

Class CRAP
Drupal\authorization\Form\SubFormState8672
Drupal\ldap_servers\LdapGroupManager8218
Drupal\authorization\Form\AuthorizationProfileForm6320
Drupal\ldap_servers\Form\ServerTestForm4422
Drupal\ldap_authentication\Controller\LoginValidatorBase2724
Drupal\ldap_user\Form\LdapUserMappingBaseForm1640
Drupal\ldap_query\Plugin\views\query\LdapQuery1066
Drupal\ldap_sso\Controller\LoginController812
Drupal\ldap_servers\Form\DebuggingReviewForm552
Drupal\ldap_servers\LdapBaseManager533
Drupal\ldap_user\EventSubscriber\LdapEntryProvisionSubscriber521
Drupal\ldap_user\Processor\DrupalUserProcessor504
Drupal\ldap_servers\LdapTransformationTraits477
Drupal\ldap_sso\LdapSsoBootSubscriber395
Drupal\ldap_authentication\Controller\LoginValidatorSso342
Drupal\ldap_user\Form\LdapUserTestForm342
Drupal\ldap_user\Processor\GroupUserUpdateProcessor342
Drupal\ldap_sso\Form\LdapSsoAdminForm240
Drupal\ldap_authentication\Form\LdapAuthenticationAdminForm240
Drupal\ldap_query\Controller\QueryController210
Drupal\ldap_servers\Form\ServerForm210
Drupal\ldap_query\Form\QueryEntityForm182
Drupal\ldap_servers\LdapBridge159
Drupal\ldap_servers\ServerListBuilder156
Drupal\ldap_query\Form\QueryTestForm156
Drupal\ldap_query\Plugin\views\field\LdapAttribute156
Drupal\ldap_authentication\Routing\EmailTemplateService144
Drupal\ldap_query\Plugin\views\filter\LdapAttribute132
Drupal\ldap_authentication\Form\LdapAuthenticationProfileUpdateForm110
Drupal\ldap_user\Form\LdapUserMappingToLdapForm72
Drupal\ldap_user\Form\LdapUserMappingToDrupalForm72
Drupal\ldap_servers\LdapUserManager71
Drupal\ldap_servers\Entity\Server68
Drupal\authorization\Entity\AuthorizationProfile65
Drupal\ldap_authentication\Controller\LoginValidatorLoginForm60
Drupal\ldap_servers\Form\ServerEnableDisableForm56
Drupal\ldap_user\Processor\OrphanProcessor45
Drupal\ldap_authentication\Access\UserHelpTabAccess33
Drupal\ldap_user\EventSubscriber\LdapEntryDeletionSubscriber32
Drupal\ldap_query\Plugin\views\VariableAttributeCustomization30
Drupal\ldap_authentication\Plugin\Derivative\DynamicUserHelpLink30
Drupal\authorization\AuthorizationController27
Drupal\ldap_servers\Processor\TokenProcessor26
Drupal\ldap_authentication\Routing\RouteSubscriber18
Drupal\ldap_user\Plugin\Validation\Constraint\LdapProtectedUserFieldConstraintValidator12
Drupal\ldap_query\Entity\QueryEntity12
Drupal\ldap_query\Plugin\views\field\LdapVariableImageAttribute12
Drupal\ldap_query\QueryEntityListBuilder12
Drupal\authorization\AuthorizationProfileListBuilder12
Drupal\ldap_sso\RedirectResponseWithCookie12
Drupal\ldap_query\Plugin\views\filter\LdapVariableAttribute6
Drupal\ldap_sso\ServerVariableLookup6
Drupal\authorization\Consumer\ConsumerPluginBase3
Drupal\ldap_servers\Logger\LdapDetailLog3

Methods

Coverage Distribution

Complexity

Insufficient Coverage

Method Coverage
setIndividualProfile0%
getQuestion0%
save0%
form0%
submitForm0%
getConfirmText0%
getCancelUrl0%
getQuestion0%
getFormId0%
submitForm0%
getConfirmText0%
getCancelUrl0%
submitForm0%
__construct0%
buildForm0%
getEditableConfigNames0%
getFormId0%
submitForm0%
extractModule0%
parsePhpModules0%
buildForm0%
printConfig0%
create0%
__construct0%
getFormId0%
create0%
getWeight0%
createLdapEntry0%
groupAddGroup0%
getNestedGroupDnFilters0%
groupGroupEntryMembershipsConfigured0%
get0%
bind0%
setServer0%
setServerById0%
applyModificationsToEntry0%
deleteLdapEntry0%
modifyLdapEntry0%
checkDnExists0%
buildForm0%
checkDnExistsIncludeData0%
validateCredentials0%
testConnection0%
computeUserData0%
testWritableGroup0%
booleanResult0%
testUserMapping0%
binaryCheck0%
testGroupDn0%
submitForm0%
validateForm0%
getFormId0%
getUserDnExpression0%
groupAddMember0%
submitForm0%
operator0%
buildOptionsForm0%
render0%
clickSort0%
usesGroupBy0%
buildOptionsForm0%
setAllProfiles0%
render0%
query0%
query0%
validateForm0%
opContains0%
buildForm0%
create0%
__construct0%
getFormId0%
save0%
form0%
submitForm0%
getConfirmText0%
getCancelUrl0%
getQuestion0%
isActive0%
opEqual0%
opStartsWith0%
getTimeout0%
addWhere0%
getTestingDrupalUsername0%
getTestingDrupalUserDn0%
isActive0%
getPort0%
buildRow0%
buildHeader0%
alter0%
translateCondition0%
buildLdapFilter0%
buildConditions0%
buildOptionsForm0%
opNotStartsWith0%
defineOptions0%
addField0%
ensureTable0%
execute0%
getCacheMaxAge0%
build0%
query0%
opEmpty0%
opNotLike0%
opNotEndsWith0%
opEndsWith0%
groupRemoveGroup0%
groupRemoveMember0%
availableFields0%
reset0%
login0%
create0%
__construct0%
binaryFilter0%
processAccount0%
runQuery0%
updateAuthorizations0%
updateDue0%
constraintsValid0%
__construct0%
parseUserAttributeNames0%
loginRemoteUser0%
updateExistingAccountByPersistentUid0%
drupalUserLogsIn0%
ldapExcludeDrupalAccount0%
ldapAssociateDrupalAccount0%
create0%
provisionEnabled0%
submitForm0%
buildForm0%
create0%
__construct0%
access0%
validateUser0%
setSpecificMapping0%
__construct0%
php56PolyfillLdapEscape0%
ldapEscapeDn0%
query0%
buildOptionsForm0%
defineOptions0%
getAuthenticationNameFromServer0%
__construct0%
checkExcludePath0%
transferSsoLoginController0%
checkSsoLoad0%
submitForm0%
getCookieLifeTime0%
validateForm0%
buildForm0%
getEditableConfigNames0%
getFormId0%
create0%
__construct0%
splitUserNameRealm0%
stripDomainName0%
remoteUserMissing0%
loginUserSetFinalize0%
loginUserNotSetFinalize0%
getFormId0%
getMappingRow0%
groupAllMembers0%
hasProvisioningEvent0%
buildRow0%
buildHeader0%
getTokens0%
setConfigurable0%
isBinary0%
getUserTokens0%
getId0%
setProvisioningModule0%
getConfigurationModule0%
setProvisioningEvents0%
setEnabled0%
getOperations0%
setLabel0%
serialize0%
convertPasswordForActiveDirectoryUnicodePwd0%
applyModificationsToEntry0%
getAllRdnValuesFromDn0%
getFirstRdnValueFromDn0%
groupMembershipsFromEntryRecursive0%
groupUserMembershipsFromEntry0%
groupMembersRecursive0%
groupIsMember0%
groupMembers0%
checkStatus0%
fetchDrupalAccountPassword0%
buildForm0%
getMappingRow0%
getFormId0%
__construct0%
setSpecificMapping0%
getMappingRow0%
buildForm0%
getFormId0%
__construct0%
mappingsAddAnother0%
mappingsAjaxCallback0%
getServerMappingFields0%
setSpecificMapping0%
syncToLdapEntry0%
sanitizeMachineName0%
syncMappingsFromForm0%
submitForm0%
loadAvailableMappings0%
checkEmptyEvents0%
validateForm0%
getEditableConfigNames0%
create0%
__construct0%
create0%
getFormId0%
getServerId0%
defineOptions0%
getRawResults0%
unsetValue0%
isRebuilding0%
setRebuild0%
getError0%
clearErrors0%
setError0%
setErrorByName0%
hasAnyErrors0%
setValueForElement0%
isValueEmpty0%
hasValue0%
setValue0%
hasInvalidToken0%
setValues0%
getValue0%
setUserInput0%
getUserInput0%
addBuildInfo0%
getBuildInfo0%
setBuildInfo0%
has0%
set0%
get0%
setInvalidToken0%
prepareCallback0%
setStorage0%
hasFileElement0%
setProcessInput0%
isRedirectDisabled0%
disableRedirect0%
isValidationEnforced0%
setValidationEnforced0%
isMethodType0%
setRequestMethod0%
setMethod0%
getLimitValidationErrors0%
setLimitValidationErrors0%
setHasFileElement0%
getFormObject0%
getGroups0%
setGroups0%
setExecuted0%
disableCache0%
isCached0%
setCached0%
getButtons0%
setButtons0%
getAlwaysProcess0%
setAlwaysProcess0%
setFormObject0%
getStorage0%
getRedirect0%
setProgrammed0%
getCancelUrl0%
getProviderOptions0%
buildEntityForm0%
form0%
getConsumerPluginManager0%
getProviderPluginManager0%
getEntity0%
create0%
__construct0%
submitForm0%
getConfirmText0%
getQuestion0%
buildConsumerConfigForm0%
onRegister0%
onLogin0%
onRequest0%
onAuthmapAlter0%
setConsumerConfig0%
hasValidProvider0%
getDescription0%
consumerTargetCreationAllowed0%
getMessage0%
buildRow0%
buildHeader0%
buildProviderConfigForm0%
getConsumerOptions0%
setRedirectUrl0%
getEditableConfigNames0%
setRedirect0%
getResponse0%
setResponse0%
setFormState0%
getCacheableArray0%
loadInclude0%
setCompleteForm0%
getCompleteForm0%
submitForm0%
buildForm0%
getFormId0%
buildAjaxProviderConfigForm0%
mappingsAddAnother0%
mappingsAjaxCallback0%
save0%
extractArrayByName0%
submitForm0%
validateForm0%
buildMappingForm0%
buildConditionsForm0%
buildAjaxConsumerRowForm0%
buildAjaxConsumerConfigForm0%
buildAjaxProviderRowForm0%
isProcessingInput0%
isExecuted0%
isProgrammed0%
verifyUserAllowed0%
bindToServerAsUser0%
testCredentials0%
processLogin0%
setAuthname0%
validateCredentialsLoggedIn0%
getDrupalUser0%
bindToServerAsUser0%
replaceUserMailWithTemplate0%
matchExistingUserWithLdap0%
access0%
getEditableConfigNames0%
accessLdapHelpTab0%
createConsumerTarget0%
revokeGrants0%
getHandlers0%
revocationSupported0%
isSyncOnLogonSupported0%
calculateDependencies0%
submitRowForm0%
buildRowDescription0%
buildRowForm0%
getFormId0%
__construct0%
validateConfigurationForm0%
create0%
execute0%
getFilter0%
load0%
__construct0%
validateResetPasswordAllowed0%
profileNeedsUpdate0%
checkForEmailTemplate0%
checkTemplate0%
__construct0%
getDerivativeDefinitions0%
__construct0%
create0%
submitForm0%
validateForm0%
buildForm0%
create0%
__construct0%
getFormId0%
linesToArray0%
submitForm0%
validateForm0%
buildForm0%
submitConfigurationForm0%
splitDnWithValues0%
isSubmitted0%
getTriggeringElement0%
setSubmitted0%
getValidateHandlers0%
setValidationComplete0%
isValidationComplete0%
getCleanValueKeys0%
setValidateHandlers0%
setProgrammedBypassAccessCheck0%
getSubmitHandlers0%
setTemporary0%
setSubmitHandlers0%
getTemporary0%
addRebuildInfo0%
getRebuildInfo0%
setCleanValueKeys0%
hasTemporaryValue0%
addCleanValueKey0%
cleanValues0%
getDescription0%
isBypassingProgrammedAccessChecks0%
buildConfigurationForm0%
getConfiguration0%
setConfiguration0%
getTemporaryValue0%
setTriggeringElement0%
setRebuildInfo0%
setTemporaryValue0%
fixOutdatedEmailAddress15%
deleteProvisionedLdapEntry17%
splitDnWithAttributes20%
setUserDefinedMappings25%
userAlreadyAuthenticated25%
prepareEmailTemplateToken27%
provisionDrupalUser30%
createLdapEntry33%
deriveDrupalUserName33%
fetchDrupalAccountField33%
bindToServer33%
updateAuthNameFromPuid35%
checkAllowedExcluded36%
createDrupalUser44%
queryLdapForUsername47%
groupUserMembershipsFromDn50%
validateCommonLoginConstraints50%
checkAvailability50%
loadConsumerPlugin50%
loadProviderPlugin50%
provisionLdapEntry52%
verifyAccountCreation54%
userUpdated55%
userCreated55%
getFormattedBind57%
checkConditions57%
fetchDrupalAccountAttribute57%
cancelUser57%
testUserPassword58%
getUserAccountFromPuid60%
tokenizeLdapEntry60%
searchAllBaseDns60%
failureResponse60%
syncToDrupalAccount61%
authenticationHelpText62%
groupUserMembershipsFromUserAttr63%
additionalDebuggingResponse63%
initializeDrupalUserFromAuthName63%
log66%
authenticationServersAvailable66%
getUserDataByAccount66%
getProcessedAttributes66%
hasValidConsumer66%
processLogin70%
groupMembershipsFromUser72%
sanitizeUserDataResponse75%
filterProposals75%
addToLdapProvisioningFields75%
ldapEscapeFilter75%
filterProposals76%
saveUserPicture79%
queryIndividualProfile80%
checkExistingLdapEntry80%
updateUserProvisioningReferences81%
fetchUidsToCheck81%
buildConfigurationForm82%
setFieldsOnDrupalUserCreation83%
getUserDataByIdentifier83%
testCredentials85%
convertAttribute85%
queryAllBaseDnLdapForUsername85%
ldapQueryEligibleUser86%
userPictureFromLdapEntry86%
grantsAndRevokes86%
processDnParts88%
fetchDrupalAttributeValue88%
sendOrphanedAccountsMail88%

Project Risks

Method CRAP
groupMembersRecursive272
buildForm182
testGroupDn182
buildConditionsForm156
php56PolyfillLdapEscape156
groupMembershipsFromEntryRecursive156
execute156
submitForm132
submitForm132
submitForm132
form132
getServerMappingFields110
processLogin110
buildForm110
checkExcludePath110
syncMappingsFromForm90
bind90
testWritableGroup90
checkAllowedExcluded81
provisionDrupalUser80
buildMappingForm72
validateForm72
fetchDrupalAccountPassword72
groupUserMembershipsFromEntry72
form56
save56
execute56
groupAllMembers56
validateForm56
render56
buildForm56
checkSsoLoad56
fixOutdatedEmailAddress46
deleteProvisionedLdapEntry43
buildConditions42
validateForm42
login42
computeUserData42
syncToLdapEntry42
buildConsumerConfigForm42
buildProviderConfigForm42
groupMembers42
ldapEscapeDn42
testCredentials42
extractModule30
addWhere30
getNestedGroupDnFilters30
ldapAssociateDrupalAccount30
groupAddGroup30
drupalUserLogsIn30
profileNeedsUpdate30
buildForm30
buildRow30
accessLdapHelpTab30
buildEntityForm30
updateDue30
parseUserAttributeNames30
getLimitValidationErrors30
setUserDefinedMappings27
processLogin20
linesToArray20
bindToServerAsUser20
processAccount20
verifyUserAllowed20
loginRemoteUser20
runQuery20
getAllRdnValuesFromDn20
checkDnExistsIncludeData20
groupIsMember20
getFirstRdnValueFromDn20
validateForm20
groupRemoveGroup20
groupAddMember20
checkForEmailTemplate20
validateResetPasswordAllowed20
groupRemoveMember20
provisionLdapEntry17
prepareEmailTemplateToken14
groupUserMembershipsFromUserAttr13
createLdapEntry12
fetchDrupalAccountField12
stripDomainName12
loadAvailableMappings12
checkEmptyEvents12
buildForm12
applyModificationsToEntry12
checkDnExists12
extractArrayByName12
__construct12
createLdapEntry12
modifyLdapEntry12
deleteLdapEntry12
save12
splitUserNameRealm12
applyModificationsToEntry12
binaryFilter12
validateForm12
getMappingRow12
getOperations12
provisionEnabled12
getMappingRow12
availableFields12
buildOptionsForm12
matchExistingUserWithLdap12
getDerivativeDefinitions12
parsePhpModules12
validateCredentialsLoggedIn12
checkStatus12
queryLdapForUsername11
fetchDrupalAccountAttribute10
syncToDrupalAccount9
authenticationHelpText9
createDrupalUser9
filterProposals8
getFormattedBind8
buildConfigurationForm8
testCredentials8
userPictureFromLdapEntry8
grantsAndRevokes8
groupUserMembershipsFromDn8
groupMembershipsFromUser7
initializeDrupalUserFromAuthName7
fetchUidsToCheck7
userUpdated7
userCreated7
processDnParts7
fetchDrupalAttributeValue7
userAlreadyAuthenticated6
searchAllBaseDns6
saveUserPicture6
updateUserProvisioningReferences6
additionalDebuggingResponse6
setFieldsOnDrupalUserCreation6
convertAttribute6
getAuthenticationNameFromServer6
loginUserSetFinalize6
getCookieLifeTime6
validateUser6
buildForm6
buildForm6
updateAuthorizations6
constraintsValid6
ldapExcludeDrupalAccount6
access6
setIndividualProfile6
splitDnWithValues6
hasValue6
render6
clickSort6
save6
checkTemplate6
buildForm6
validateCommonLoginConstraints6
access6
isValueEmpty6
getValue6
opEmpty6
has6
set6
get6
setFormState6
getConsumerOptions6
getProviderOptions6
form6
hasValidProvider6
buildRow6
operator6
replaceUserMailWithTemplate6
query6
testConnection6
setAllProfiles6
setServerById6
groupGroupEntryMembershipsConfigured6
convertPasswordForActiveDirectoryUnicodePwd6
booleanResult6
buildLdapFilter6
testUserMapping6
binaryCheck6
submitForm6
getConfirmText6
buildRow6
translateCondition6
bindToServer5
deriveDrupalUserName5
updateAuthNameFromPuid5
sanitizeUserDataResponse5
checkConditions5
getUserDataByIdentifier5
queryAllBaseDnLdapForUsername5
getUserAccountFromPuid5
tokenizeLdapEntry5
addToLdapProvisioningFields4
checkAvailability4
splitDnWithAttributes4
ldapQueryEligibleUser4
verifyAccountCreation3
testUserPassword3
getUserDataByAccount3
sendOrphanedAccountsMail3
loadProviderPlugin2
loadConsumerPlugin2
cancelUser2
failureResponse2
log2
hasValidConsumer2
getProcessedAttributes2
authenticationServersAvailable2
filterProposals2
ldapEscapeFilter2
checkExistingLdapEntry2
queryIndividualProfile2