Eclipse 指标插件建议

发布于 2024-07-25 01:45:12 字数 1542 浏览 3 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(9

诠释孤独 2024-08-01 01:45:12

CodePro AnalytiX 最初形成 Instantiations,现在在 Google 上免费:

http://code.google.com/ javadevtools/download-codepro.html

CodePro AnalytiX originally form Instantiations is now free at Google:

http://code.google.com/javadevtools/download-codepro.html

べ繥欢鉨o。 2024-08-01 01:45:12

这里是一个称为“指标”的指标。

编辑:

我在 Eclipse 3.3.1.1 中为这个屏幕截图编写了一个简短的程序:

编辑 2
指标新版本 感谢@mpartel 提供的链接

here is one called Metrics.

edit:

i put together a short program for this screenshot in eclipse 3.3.1.1:

Edit 2
Metrics New version Thanks @mpartel for the link

梦巷 2024-08-01 01:45:12

对于死尸帖子感到抱歉,但这似乎是正确的做法,因为这是我的起点。 尝试 Metrics2,它是原始指标插件的一个分支,是为 Eclipse 3.5 构建的。

Sorry for the necropost but it seems like the right thing to do since this was my starting point. Try Metrics2, its a fork of the original metrics plugin and is built for Eclipse 3.5.

清风挽心 2024-08-01 01:45:12

上述 Metrics 插件的更新版本应该可以满足您的需求。 它可以聚合一些测量结果(例如,将包中类的 LOC 相加,得到包的 LOC)并将测量结果导出到 XML。 在不久的将来的某个时候,它还应该将它们导出到关系数据库。

There is an updated version of the Metrics plug-in described above that should do what you need. It can aggregate some of the measurements (e.g. add up the LOC of classes in a package to give you the LOC of the package) and export the measurements to XML. Some time in the near future, it should also export them to a relational database.

清欢 2024-08-01 01:45:12

如果您只需要 LOC,请使用 locmetric http://www.locmetrics.com/ 。 如果您想检查指标和代码覆盖率,请使用 SONAR 或 Eclips CodePro Analytix 插件。

我建议使用 https://developers.google.com/java-dev- tools/codepro/doc/ 它具有自动化工具来测量 Java 源代码的质量和代码覆盖率

If you want LOC only then use locmetric http://www.locmetrics.com/ . and if you want check metric and code coverage usse SONAR or Eclips CodePro Analytix plugin.

i suggest to use https://developers.google.com/java-dev-tools/codepro/doc/ it has Automated tools measure quality of Java source code and code coverage

策马西风 2024-08-01 01:45:12

我还推荐 eclipse-metrics 插件。

它能够将指标导出为 html,并且能够通过 ant 任务执行此操作(至少根据文档,我从未尝试过)。

该插件甚至在 Eclipse 3.5 中也能正常工作。

I also recommend the eclipse-metrics plugin.

It is capable of exporting the metrics into html, and is capable of doing this from an ant task (at least according to the documentation, I have never tried it).

The plugin works even in Eclipse 3.5 fine.

只为守护你 2024-08-01 01:45:12

另一个不错的项目是 projectusus,它不仅向您显示指标,还向您显示您是否尊重是否符合标准,并提示您应该重构哪些内容

Another good project is the projectusus, which shows you not only the metrics but also whether you are respecting the standards or not and gives you a hint of what should be refactored

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文