| Did you know ... | Search Documentation: |
| Pack logtalk -- logtalk-3.99.0/docs/apis/_sources/coupling_metric_0.rst.txt |
.. index:: single: coupling_metric .. _coupling_metric/0:
.. rst-class:: right
object
coupling_metricComputes entity efferent coupling, afferent coupling, instability, abstractness, and distance from the main sequence.
| Availability:
| logtalk_load(code_metrics(loader))
| Author: Ebrahim Azarisooreh and Paulo Moura | Version: 0:15:0 | Date: 2026-03-13
| 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:`list <list/0>`
| Remarks:
Ce / (Ce + Ca). Measures the entity resilience to change. Ranging from 0 to 1, with 0 indicating a maximally stable entity and 1 indicating a maximally unstable entity. Ideally, an entity is either maximally stable or maximally unstable.abs(A + I - 1). Measures how far an entity is from the idealized line A + I = 1. Ranging from 0 to 1, with 0 indicating the entity is on the main sequence and 1 indicating it is as far as possible (either maximally abstract and stable, or maximally concrete and unstable).ce_ca_i_a_d(Ce,Ca,I,A,D).| 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
(no local declarations; see entity ancestors if any)
(no local declarations; see entity ancestors if any)
(no local declarations; see entity ancestors if any)
(none)