Fact: a large application developed and maintained by several people, we ended up having a lot of dead code ...
One solution is to use the clean up of Eclipse, one arrives to remove some attributes not used ... but it went no further.
The idea would be much more radical move tool on all code.
Fortunately (again), Eclipse just save your life ![]()
- Let's start by downloading Eclipse Core Tools: http://www.eclipse.org/eclipse/platform-core/updates/
- Select Project / package / class on which to pass the tool
- Via the shortcut menu, click Find Unreferenced Members. The search result displayed in the Search View
- Get the ax ...
By cons, beware: it is possible that some classes appear to be unused when they are called by an extension point!




Comments
Write a comment Trackback