dit_metric — Logtalk APIs v3.47.0 documentation

object

# `dit_metric`

Analyzes the depth of inheritance for objects, protocols, and categories.

Author: Ebrahim Azarisooreh
Version: 0:5:0
Date: 2018-06-09
Compilation flags:
`static, context_switching_calls`
Imports:
`public` code_metrics_utilities
`public` code_metric
Uses:
list
Remarks:

> - Depth: The depth is the maximum length of a node to the root entity. Lower scores are generally better.

> - Inheritance: A level of inheritance defined by either one of specialization, instantiation, extension, importation, or implementation.

> - Scoring: The maximum path length is determined for each entity in question.

Inherited public predicates:
all/0 all_score/1 directory/1 directory_score/2 entity/1 entity_score/2 entity_score//2 file/1 file_score/2 library/1 library_score/2 rdirectory/1 rdirectory_score/2 rlibrary/1 rlibrary_score/2

- Public predicates

- Protected predicates

- Private predicates

- Operators

## 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)