问题描述
我在Eclipse中有一个Java项目,每个包含10个软件包和〜10个类文件。有没有办法从Eclipse中确定整个项目的总代码行?我熟悉其他工具(例如Code Analyzer,wc等),但是我想知道是否有一种在Eclipse中执行此操作的方法(或者确认无法执行此操作)。这是一个很好的指标插件,显示代码行数量等等:
它说它需要Eclipse 3.1,虽然我想象的是3.1 +
这是另一个在Ganymede测试的指标插件:
I have a Java project in Eclipse with ~10 packages and ~10 class files per package. Is there a way to determine total lines of code for the whole project from within Eclipse? I am familiar with other tools (e.g., Code Analyzer, wc, etc.) but I want to know if there is a way to do this within Eclipse (or get confirmation that there is no way to do it).
Here's a good metrics plugin that displays number of lines of code and much more:
http://metrics.sourceforge.net/
It says it requires Eclipse 3.1, although I imagine they mean 3.1+
Here's another metrics plugin that's been tested on Ganymede:
http://eclipse-metrics.sourceforge.net
这篇关于在Eclipse中计数行数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!