Did you know ... Search Documentation:
Pack logtalk -- logtalk-3.86.0/docs/_sources/dit_metric_0.rst.txt

.. index:: dit_metric .. _dit_metric/0:

.. rst-class:: right

object

dit_metric

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

| Availability: | logtalk_load(code_metrics(loader))

| Author: Ebrahim Azarisooreh | Version: 0:6:1 | Date: 2024-03-28

| Compilation flags: | static, context_switching_calls

| Imports: | public :ref:`code_metrics_utilities <code_metrics_utilities/0>` | public :ref:`code_metric <code_metric/0>` | Uses: | :ref:`numberlist <numberlist/0>`

| 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: |  :ref:`code_metric/0::all/0`  :ref:`code_metric/0::all/1`  :ref:`code_metric/0::all_score/1`  :ref:`options_protocol/0::check_option/1`  :ref:`options_protocol/0::check_options/1`  :ref:`options_protocol/0::default_option/1`  :ref:`options_protocol/0::default_options/1`  :ref:`code_metric/0::directory/1`  :ref:`code_metric/0::directory/2`  :ref:`code_metric/0::directory_score/2`  :ref:`code_metric/0::entity/1`  :ref:`code_metric/0::entity_score/2`  :ref:`code_metric/0::file/1`  :ref:`code_metric/0::file/2`  :ref:`code_metric/0::file_score/2`  :ref:`code_metric/0::format_entity_score//2`  :ref:`code_metric/0::library/1`  :ref:`code_metric/0::library/2`  :ref:`code_metric/0::library_score/2`  :ref:`options_protocol/0::option/2`  :ref:`options_protocol/0::option/3`  :ref:`code_metric/0::rdirectory/1`  :ref:`code_metric/0::rdirectory/2`  :ref:`code_metric/0::rdirectory_score/2`  :ref:`code_metric/0::rlibrary/1`  :ref:`code_metric/0::rlibrary/2`  :ref:`code_metric/0::rlibrary_score/2`  :ref:`options_protocol/0::valid_option/1`  :ref:`options_protocol/0::valid_options/1`  

.. contents:: :local: :backlinks: top

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)