Possible Duplicate:
Counting Line Numbers in Eclipse
How Can I count the number of lines in my project including all the packages and projects in the Eclipse editor?
You could use former Instantiations product CodePro AnalytiX. This eclipse plugin provides you suchlike statistics in code metrics view. This is provided by Google free of charge.