How do I find number of lines of code in RAD
or Eclipse
in entire workspace
(all the projects)??
views:
241answers:
1
+1
A:
You could:
- add a plugin like Eclipse metrics
- create a project which depends on all the other projects in the workspace
(Java Build Path, tab "Projects", for adding "Required projects on the build path)
Don't bother with the compilation: even if that global project doesn't compile it will give you the information you need.
- display the project summary metric
VonC
2010-02-16 12:44:05
VonC, I gave this method a shot and it didn't fully work. I was able to export metrics for a global project I made (with every other project on its build path) but the exported HTML has no data - e.g., 0 packages, 0 classes, 0 TLOC. Any ideas? These are J2EE projects so I'm wondering if that could be the cause.
Matt Ball
2010-05-03 15:59:08
@Bears: strange, I didn't test it recently but it may have missed the right directories to analyze in your case.
VonC
2010-05-03 17:16:09