Classes

Coverage Distribution

Complexity

Insufficient Coverage

Class Coverage
Drupal\crm\Access\ContactMethodTypeAccessControlHandler0%
Drupal\crm\Access\ContactTypeAccessControlHandler0%
Drupal\crm\Access\RelationshipAccessControlHandler0%
Drupal\crm\ContextProvider\ContactRouteContext0%
Drupal\crm\Drush\Commands\CrmCommands0%
Drupal\crm\Entity\ContactMethod\AddressContactMethod0%
Drupal\crm\Entity\ContactMethod\ContactMethodBase0%
Drupal\crm\Entity\ContactMethod\EmailContactMethod0%
Drupal\crm\Entity\ContactMethod\TelephoneContactMethod0%
Drupal\crm\Hook\CommentHooks0%
Drupal\crm\Hook\MiscHooks0%
Drupal\crm\ListBuilder\ContactMethodTypeListBuilder0%
Drupal\crm\ListBuilder\RelationshipListBuilder0%
Drupal\crm\ListBuilder\RelationshipTypeListBuilder0%
Drupal\crm\Plugin\EntityReferenceSelection\MethodDetailTypeSelection0%
Drupal\crm\Plugin\EntityReferenceSelection\ValidContactsSelection0%
Drupal\crm\Plugin\Group\Relation\GroupContact0%
Drupal\crm\Plugin\Group\Relation\GroupContactDeriver0%
Drupal\crm\Plugin\Menu\LocalTask\CommentTask0%
Drupal\crm\Plugin\Menu\LocalTask\RelationshipTask0%
Drupal\crm\Plugin\views\field\UserContactMappingField0%
Drupal\crm\Service\CommentLazyBuilders0%
Drupal\crm\Service\RelationshipService0%
Drupal\crm\Service\UserContactMappingService0%
Drupal\crm\Plugin\views\filter\RelationshipStatisticsType24%
Drupal\crm\Plugin\views\field\RelationshipStatistics32%
Drupal\crm\Entity\ContactType33%
Drupal\crm\Entity\ContactMethodType40%
Drupal\crm\Plugin\Field\FieldFormatter\RelationshipStatisticsFormatter45%
Drupal\crm\Plugin\Search\ContactSearch49%
Drupal\crm\Theme\ThemeNegotiator55%
Drupal\crm\Hook\UserHooks60%
Drupal\crm\Plugin\views\sort\RelationshipStatisticsCount63%
Drupal\crm\Hook\RelationshipHooks63%
Drupal\crm\ListBuilder\UserContactMappingListBuilder70%
Drupal\crm\Hook\ContactHooks75%
Drupal\crm\Plugin\Validation\Constraint\RelationshipContactsConstraintValidator76%
Drupal\crm\Hook\EntityHooks81%
Drupal\crm\Entity\RelationshipType82%
Drupal\crm\Form\RelationshipForm89%

Project Risks

Class CRAP
Drupal\crm\Service\UserContactMappingService650
Drupal\crm\Service\RelationshipService306
Drupal\crm\Plugin\views\field\RelationshipStatistics292
Drupal\crm\Plugin\Field\FieldFormatter\RelationshipStatisticsFormatter207
Drupal\crm\Plugin\Menu\LocalTask\CommentTask110
Drupal\crm\Plugin\Search\ContactSearch106
Drupal\crm\Hook\RelationshipHooks95
Drupal\crm\ContextProvider\ContactRouteContext90
Drupal\crm\ListBuilder\RelationshipListBuilder90
Drupal\crm\Plugin\views\field\UserContactMappingField72
Drupal\crm\Hook\CommentHooks56
Drupal\crm\Hook\UserHooks45
Drupal\crm\Access\RelationshipAccessControlHandler42
Drupal\crm\Form\RelationshipForm35
Drupal\crm\Access\ContactMethodTypeAccessControlHandler30
Drupal\crm\Access\ContactTypeAccessControlHandler30
Drupal\crm\ListBuilder\ContactMethodTypeListBuilder30
Drupal\crm\ListBuilder\RelationshipTypeListBuilder30
Drupal\crm\Plugin\Menu\LocalTask\RelationshipTask30
Drupal\crm\Plugin\views\filter\RelationshipStatisticsType28
Drupal\crm\Hook\EntityHooks23
Drupal\crm\Plugin\Validation\Constraint\RelationshipContactsConstraintValidator20
Drupal\crm\Entity\RelationshipType18
Drupal\crm\Plugin\views\sort\RelationshipStatisticsCount13
Drupal\crm\Plugin\EntityReferenceSelection\ValidContactsSelection12
Drupal\crm\Theme\ThemeNegotiator11
Drupal\crm\ListBuilder\UserContactMappingListBuilder8
Drupal\crm\Hook\ContactHooks6
Drupal\crm\Plugin\EntityReferenceSelection\MethodDetailTypeSelection6
Drupal\crm\Plugin\Group\Relation\GroupContactDeriver6

Methods

Coverage Distribution

Complexity

Insufficient Coverage

Method Coverage
checkAccess0%
checkAccess0%
checkAccess0%
checkCreateAccess0%
__construct0%
getRuntimeContexts0%
getAvailableContexts0%
__construct0%
create0%
recalculateStatistics0%
getLabelWithoutDetail0%
label0%
getLabelWithoutDetail0%
getLabelWithoutDetail0%
getDescription0%
setDescription0%
getHelp0%
getDescription0%
setDescription0%
shouldCreateNewRevision0%
setNewRevision0%
label0%
getDescription0%
setDescription0%
isReadonlyContactA0%
isReadonlyContactB0%
__construct0%
commentLinksAlter0%
theme0%
viewsDataAlter0%
incrementForRelationship0%
handleContactChanges0%
userFormAlter0%
__construct0%
__construct0%
buildHeader0%
buildRow0%
render0%
getDefaultOperations0%
__construct0%
createInstance0%
render0%
buildHeader0%
buildRow0%
getEntityListQuery0%
buildHeader0%
buildRow0%
render0%
getDefaultOperations0%
__construct0%
getDefaultOperations0%
buildEntityQuery0%
buildEntityQuery0%
settingsForm0%
settingsSummary0%
defaultConfiguration0%
buildConfigurationForm0%
calculateDependencies0%
getDerivativeDefinitions0%
__construct0%
create0%
getTitle0%
getCacheTags0%
__construct0%
create0%
getTitle0%
getCacheMaxAge0%
access0%
getType0%
execute0%
findResults0%
prepareResults0%
buildConfigurationForm0%
submitConfigurationForm0%
getHelp0%
buildOptionsForm0%
getLabel0%
getRelationshipTypes0%
__construct0%
create0%
query0%
render0%
getRelationshipTypeOptions0%
buildOptionsForm0%
query0%
__construct0%
renderForm0%
__construct0%
getRelationshipIdByContactId0%
getEligibleRelationshipTypesForContact0%
__construct0%
getContactIdFromUserId0%
getUserIdFromContactId0%
getRelationIdFromUserId0%
getRelationIdFromContactId0%
relate0%
determineActiveTheme0%
entityView64%
getDefaultOperations75%
getDefaultOperations75%
getLabel76%
validate76%
relationshipUpdate76%
save77%
recalculateForContact79%
applies80%
form84%
save85%
getRelationshipTypeOptions87%
userInsert88%
relationshipDelete88%
viewElements88%
writeStatisticsToDatabase89%