Find unused code

Hi all,

I've asked this question before, and I know how to do it (Inspect Code -> Unused declaration), but my results are a bit disappointing. I get a lot of results (338 items), and 558 entry points, but if I look into the unused declarations results, almost all of my results look like this:

Name:       public class AfasCSVImporter      
Location:   package           
No problems found

Especially the 'no problems found' result bothers me a lot: how can I filter them from the result, and why are they here in the first place? To me, it seems like this is not the intention of this inspection, but I might be missing something?

Any advice welcome!

PS: My goal was to find all code which was no longer used, like code which used to implement an interface, but, since the interface changed, the code which implemented the interface could still be there, and is obsolete, since it's no longer referenced from any other place.

Comment actions Permalink

No-one suggestions on this?

Comment actions Permalink

Hello Erik,

Unfortunately I am unable to reproduce the problem on the sample project.
Could you help me please?

Thank you


Anna Kozlova
JetBrains Inc.
"Develop with pleasure!"

No-one suggestions on this?

Comment actions Permalink

Hi, love to help, but I cannot share the project. How can I help?


Please sign in to leave a comment.