scitools.com

← Metric catalog

Percent Lack Of Cohesion Modified 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.

Percent Lack Of Cohesion Modified

API ID: PercentLackOfCohesionModified
Languages: Basic, C#, Java, Pascal
Targets: Classes

100% minus the average cohesion for class data members, modified for accessor methods.

Same as PercentLackOfCohesion but does not penalize the use of accessor methods within a class to set/read variables.

Targets By Language: Configuration: