object
lcom_metric
Lack of Cohesion Of Methods metric (LCOM4).
logtalk_load(code_metrics(loader))static, context_switching_calls
Score computation: Computes the number of connected components in the undirected graph whose nodes are the locally defined predicates and whose edges represent direct internal calls between them.
Score interpretation: A score of 1 indicates a fully cohesive entity. Higher scores indicate that the entity may benefit from being split. Protocols are not scored as they cannot define predicates.
Score representation: The score is represented by the compound term
lcom(Components, Predicates)whereComponentsis the number of connected components andPredicatesis the total number of locally defined (non-auxiliary) predicates.
Public predicates
(no local declarations; see entity ancestors if any)
Protected predicates
(no local declarations; see entity ancestors if any)
Private predicates
(no local declarations; see entity ancestors if any)
Operators
(none)