[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools] Re: How to find non-referenced methods in Eclipse?

Johann Uhrmann wrote:
oleg shteynbuk wrote:

there is also dynamic method invocation using reflection. but most users do not right libraries or use reflection so it make sense to have such warning as an option. i believe there are tools like lint for java that might give you just this, but i could not name anything off my hat.


I know that there are several ways to call a public method that cannot
be detected. Also there are some good reasons for not detecting "orphan methods", e.g. in libraries.


The functionality I was asking for is more like a metric
but a warning and my intention was to use it to discover unused methods in applications.


By the way, is there a kind of "reference counter" or "cross reference list" that can be produced with Eclipse or one of its plug-ins?

Obviously, that would do the job.


Kind regards,

Hans

try search on
http://eclipse-plugins.2y.net/eclipse/index.jsp
there are more then 300 plugins, there should be some for code analysis PMD is one of them but i never used it. if you find anything that you like let's know. good luck


oleg