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

Suspicious DIT calculation #106

Open
PolakPL2002 opened this issue Dec 12, 2023 · 0 comments
Open

Suspicious DIT calculation #106

PolakPL2002 opened this issue Dec 12, 2023 · 0 comments

Comments

@PolakPL2002
Copy link

The issue seems to affect classes that have static inner classes extending the outer class (and possibly more general cases as well).

Example: https://github.com/libgdx/libgdx/blob/master/gdx/src/com/badlogic/gdx/math/Interpolation.java
Calculated DIT for Interpolation: 24
Expected DIT for Interpolation: 1

The DIT of the outer class seems to include the dependencies of inner classes. It is caused by CKVisitor.java:70, which causes inner classes dependencies be added to the DIT of Interpolation (which is top of the stack at that moment).

Is this intended behavior?

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