PhpMetrics icon indicating copy to clipboard operation
PhpMetrics copied to clipboard

Wrong Instability for Abstract classes with inheritance classes

Open KorDum opened this issue 7 months ago • 0 comments

Bug report

PhpMetrics 3.0.0rc6

If I understand correctly, Instability counts incorrectly for abstract classes with inheritors. Since the classes are abstract, we get Affererent Coupling = 0, even though the class has descendants that are explicitly linked to the abstract class. Because of this, abstract classes are placed in the zone of useless classes.

Or am I wrong?

KorDum avatar Jul 12 '24 16:07 KorDum