If you just need a summary of the number of lines for comments and code, check out CLOC . Direct it to the source directory, i.e.:
cloc src
... and it will display a summary for you.
CLOC , - , , .. :
package test;
public class Main {
public static void main(String[] args) {
System.out.println("/* This isn't a comment */");
System.out.println("//Not comment");
}
}
CLOC , 7 7 .
, - Java, ( ), ? , , , , .., , -, .