I am concerned that some of the classes in my app have methods that are defined but not called anywhere in the app.
In Eclipse is there a way to find these methods?
UCDetector (Unnecessary Code Detector) is a eclipse PlugIn tool to find unnecessary (dead) public java code. For example public classes, methods or fields which have no references.
You can open any method or type in your workspace using the "Open Type" wizard or the "Open Method" wizard. -Or- press Ctrl+Shift+T (for a type) or Ctrl+Shift+M (for a method). The "Open Type/Method" dialog will appear. If a type/method was previously selected in the editor or outline views, it will be displayed.
Press Alt + Left Arrow and Alt + Right Arrow like you would in a web browser.
You can use Findbugs for this, but there's also a plugin dedicated to this: UCDetector.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With