Code metrics tool

Logtalk code_metrics tool allows applying code metrics to source code. Several basic metrics are provided:

  • Halstead complexity
  • Cyclomatic complexity
  • Efferent coupling
  • Afferent coupling
  • Instability
  • Abstractness
  • Documentation
  • Source code size
  • Depth of Inheritance
  • Number of Clauses
  • Number of Rules

The tool is extensible allowing users to define their own metrics.

For details on the code metrics tool, see