scitools.com

← Metric catalog

Max Strict Modified Essential Complexity is one of the source-code metrics Understand computes across 17+ languages — browse them in the GUI, export and track them, or script them with the Python API.

Max Strict Modified Essential Complexity

API ID: MaxEssentialStrictModified
Languages: Ada
Targets: Architectures, Files, Packages, Project

Maximum strict modified essential complexity of all nested functions or methods.

For example:


package Essential_Demo is
   procedure Simple_Proc (X : in out Integer);
   function Strict_Func (A, B : Boolean; N : Integer) return Integer;
   function Case_Func (Day : Integer) return Integer;
   function Mixed_Func (A, B : Boolean; Day : Integer) return Integer;
end Essential_Demo;

Simple_Proc, Strict_Func, Case_Func, and Mixed_Func have Strict Modified Essential Complexity of 1, 5, 2, and 7. For the Essential_Demo package, the maximum is 7.

See Sum and Average Strict Modified Essential Complexity for the other aggregations.

Targets By Language: Configuration: