如何计算“Java 项目”中的行数
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/4062209/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to calculate the number of lines in a "Java Project"
提问by iberck
How can I calculate the number of lines in a "Java Project"?
I'm using Netbeans 6.9.
如何计算“Java 项目”中的行数?
我正在使用 Netbeans 6.9。
回答by aioobe
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.
NetBeans Metric Module 是 NetBeans 的一个模块,可以测量您的 java 源代码并在 NetBeans 中显示结果。
Or the wordcount plugin.
或者wordcount 插件。
Counts characters, words, and lines of java files
统计java文件的字符、单词和行数