开发者

How to calculate the number of lines in a "Java Project"

How can I calculate the number of lines in a "Java Project"?

I'm using Netbea开发者_如何学Gons 6.9.


Have a look at the NetBeans Metrics Module.

NetBeans Metric Module is a module for NetBeans that can measure your java source code and display the results in NetBeans.


Or the wordcount plugin.

Counts characters, words, and lines of java files


Sloccount is a very good application to count number of lines of code.

You can find more information here: Sloccount


I saw what I think is a brilliantly simple answer: Right click on the project name Use ctl-F for Find Specify RegEx for find Enter \n as the search pattern And voila - number of lines and number of files searched in the project.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜