Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong Instability for Abstract classes with inheritance classes #507

Open
KorDum opened this issue Jul 12, 2024 · 0 comments
Open

Wrong Instability for Abstract classes with inheritance classes #507

KorDum opened this issue Jul 12, 2024 · 0 comments

Comments

@KorDum
Copy link

KorDum commented Jul 12, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant