Eclipse Juno指标插件 [英] Eclipse Juno Metrics Plugins
本文介绍了Eclipse Juno指标插件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
几乎忘了,我们使用Java作为编程语言。
我想要像循环复杂度,代码行,方法长度,参数多余等指标
解决方案
查看以下内容,Juno可以正常工作:
- checkstyle :代码样式,包括方法长度和其他
- 再次 checkstyle :重复代码检测
- checkstyle :循环复杂性
- cobertura :用于测试覆盖率
- findbugs :代码中潜在的陷阱
- Google Plugin for eclipse Google自己的代码质量工具,包括测试生成
我想你不是在寻找分析器,但如果是,请考虑(新复活?) TPTP
What eclipse metrics plugins exist for the JUNO release of eclipse? I have tried a few general purpose metrics plugins but non of them has functioned properly with the JUNO release of eclipse. Almost forgot, we are using Java as programming language.
I want metrics like cyclomatic-complexity, lines of code, method length, parameter excess and so on.
解决方案
Check out the following, which work fine on Juno:
- checkstyle: code style, including method length and others
- checkstyle again: duplicate code detection
- checkstyle again: Cyclomatic Complexity
- cobertura: for test coverage
- findbugs: potential pitfalls in your code
- Google Plugin for eclipse google's own code quality tools including test generation
I suppose you are not looking for profilers, but if you are, consider the (newly resurrected?) TPTP
这篇关于Eclipse Juno指标插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文