如何在 Eclipse IDE 中自动计算代码行数?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/12913853/
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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 19:12:26  来源:igfitidea点击:

How to count code lines automaticly in Eclipse IDE?

javaeclipse

提问by Trycon

Possible Duplicate:
Eclipse plugin for measuring lines of code

可能的重复:
用于测量代码行的 Eclipse 插件

I really don't want to manually go through each class in my java project. I have BILLIONS of classes and I really want to know how many lines I created. Is there a way to know automatically the lines of code on all classes?

我真的不想手动遍历我的 java 项目中的每个类。我有数十亿个课程,我真的很想知道我创建了多少行。有没有办法自动知道所有类的代码行?

回答by bpgergo

I use this code analyze tool: https://developers.google.com/java-dev-tools/download-codepro

我使用这个代码分析工具:https: //developers.google.com/java-dev-tools/download-codepro

it tells the lines of code and more

它告诉代码行等等