PhpStorm
 
Get PhpStorm
You are viewing the documentation for an earlier version of PhpStorm.

Code Inspection: LCOM metric

Last modified: 16 May 2022

Reports the classes that have high Lack of Cohesion metric value, which represents the degree of cohesiveness of a class.

It uses class dependency graph components for class cohesiveness measure (M. Hitz and B. Montazeri definition of LCOM metric)