Find the number of lines in a project in eclipse?

Is it possible to connect / function to count the number of rows in the project?

+4
source share
3 answers

This may be what you are looking for: http://metrics2.sourceforge.net/

+6
source

A very simplified way is to look up the regular expression for '\ n' in your project. This will give you an idea of ​​the number of lines in your project without installing additional plugins.

+4
source

Instead of installing a new eclipse plugin; If you are on a linux system:

cd to the eclispe project source directory (workspace / project-name / src)

and type in termianl:

wc -l *.java

This will show the total number of lines as well as the number of lines in each file.

+1
source

All Articles