Finding all methods having 0 references [message #159705] |
Thu, 20 May 2004 14:53  |
Eclipse User |
|
|
|
My team has recently taken over a new code base, and we're looking for all
methods that have zero references in the code base. Is there a quick way
to get a list of all of these, or does one need to go method by method and
check for references? I've looked in the help and different menu options,
but didn't find a way to do this. Thanks for any suggestions.
--Gary
|
|
|
|
|
Re: Finding all methods having 0 references [message #159725 is a reply to message #159717] |
Thu, 20 May 2004 17:25   |
Eclipse User |
|
|
|
Genady,
Thanks for the tip. We had considered the possibility of reflective
calls, and that's not being done in this application. Unfortunately, most
of the methods are public, so the filter won't help too much, but it will
help some. ;-)
--Gary
------------------------------------------------------------ --------
Genady wrote:
> I think there is an option to mark unused private methods as warnings.
> I don't think there is such option for other methods. Also public
> methods may be
> used by reflection, which makes such search inaccurate.
> Genady
> Genady Beryozkin
> http://www.genady.net/
> Gary Doney wrote:
> >My team has recently taken over a new code base, and we're looking for all
> >methods that have zero references in the code base. Is there a quick way
> >to get a list of all of these, or does one need to go method by method and
> >check for references? I've looked in the help and different menu options,
> >but didn't find a way to do this. Thanks for any suggestions.
> >
> >--Gary
> >
> >
> >
|
|
|
Re: Finding all methods having 0 references [message #160198 is a reply to message #159722] |
Sun, 23 May 2004 23:07  |
Eclipse User |
|
|
|
Matt,
I hadn't heard of JQuery before, but it looks interesting. I'll read up
on it and see if I can use it. Thanks for the tip.
--Gary
Matthew Conway wrote:
> On Thu, 20 May 2004 18:53:11 +0000, Gary Doney wrote:
> > My team has recently taken over a new code base, and we're looking for all
> > methods that have zero references in the code base. Is there a quick way
> You may be able to use this plugin to do what you want:
> http://www.cs.ubc.ca/labs/spl/projects/jquery/
> JQuery is a flexible, query-based source code browser, developed as an
> Eclipse plug-in. After selecting a java working set of interest, a JQuery
> user can define his or her own top-level queries (or "browsers")
> on-the-fly by formulating logic queries and running them against his/her
> source code.
> Matt
|
|
|
Powered by
FUDForum. Page generated in 0.03189 seconds