This discussion is archived
10 Replies Latest reply: Feb 13, 2011 9:22 PM by tschodt RSS

Java Comiler - How to find out the Number of lines of Executable code

838855 Newbie
Currently Being Moderated
Is there any option we have or could have to get the "Number of Lines of Executable Code" while we run the java compiler?
Technically Java is an interpreter. So in case the term is incorrect, please excuse me.

Since the compiler anyway traverses through the Java files, it is easy and correct to get the number from the compiler rather than having any external tool calculating the same.

It should remove the comments, blank lines and take care of java single sentence written in multiple lines.

Any suggestions or help is highly appreciated.



  • Correct Answers - 10 points
  • Helpful Answers - 5 points