LCOM metric
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)
Inspection options
Option | Type | Default |
---|---|---|
LCOM threshold | Number | 1 |
Minimum number Of fields | Number | 10 |
Minimum number Of methods | Number | 10 |
Inspection Details | |
---|---|
Available in: | PhpStorm 2023.3, Qodana for PHP 2023.3 |
Plugin: | PHP Architecture, 233.SNAPSHOT |
Last modified: 13 July 2023