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

Methods that are accessed through interfaces are identified as an unused function #4

Open
babnik42 opened this issue Dec 13, 2022 · 1 comment

Comments

@babnik42
Copy link

If a procedure or function is not accessed directly through the class, but is through an implemented interface, it is wrongly identified as being unused.

@Cirras
Copy link

Cirras commented Nov 17, 2023

Hi @babnik42,

This project doesn't really handle interfaces when it comes to dead code detection.
There's another sonar plugin with more robust semantic analysis, and it handles the exact case you've mentioned here.

See: integrated-application-development/sonar-delphi

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

2 participants