Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 123535

Summary: Add source code statistics support
Product: [Eclipse Project] JDT Reporter: Luma <maruojie>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3 CC: benno.baumgartner
Version: 3.2Keywords: helpwanted
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Luma CLA 2006-01-11 21:22:37 EST
Sometimes I want to know how many lines in my project, but eclipse doesn't provide statistics tool for this. I think it will be helpful if eclipse does. 

Some features may be implemented:
1. Get statistics for a project as well as multi projects
2. Get statistics for user specified source folder
3. Get statistics for user specified file type
4. More...

Statistics type may be implemented:
1. Get source code line count, include/exclude comment
2. Get source code line count, include/exclude empty line
3. Get comment line count, include/exclude empty line
4. Get source file count
5. Get //TODO task comment count
6. Get method/field count
7. More...
Comment 1 Martin Aeschlimann CLA 2006-01-12 11:17:58 EST
I agree that this is very helpful. However, we would prefer that extra (external) plugins can jump in here and offer great metric support (I think there also already various other plugins that help here).