Bug 129576 - List unreferenced classes for a project.
Summary: List unreferenced classes for a project.
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-27 09:39 EST by Per Lauge Holst CLA
Modified: 2006-02-27 09:39 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Per Lauge Holst CLA 2006-02-27 09:39:08 EST
Keeping an old source base clean and clutter free may become a daunting task. If I could get a list of classes not referenced by any other class for a given (self contained) project, then I could clean up the mess.

Current workaround is: For each class, check references for project - if any then continue, otherwise check manually if class could be instantiated by reflection in the project.

It's the set of the latter I'd be interested in. A solution could be to either list them all, mark them as possibly deprecated, or move them to another folder, e.g. /deprecated.

Of course, the functionality need not be project only - it could as well be on the entire workspace, but it's primarily a per project evaluation.

Actually it's much like the "Close Unrelated Projects" of 3.2M5 - to remove clutter and enhance performance.

Per Holst