什么是好的静态代码分析插件? [英] What are the good static code analysis plugins?

查看:172
本文介绍了什么是好的静态代码分析插件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有任何Java自动代​​码审查工具?特别是Eclipse的插件?我期望的工具是一个自动化代码审查插件或工具,可以自动检测代码中的问题。 (Microsoft使用 OACR 进行此操作)。像 Jupiter 不会帮助
,因为它们只是eclipse的同行评审工具。

解决方案

你的意思是不是自动化代码审查,而是静态代码分析



对于Java工具,请参阅: http:/ /en.wikipedia.org/wiki/List_of_tools_for_static_code_analysis#Java



基本上,代码审查和静态代码分析之间的区别是一个你已经注意到您好奇可以运行的软件,可以告诉您潜在的问题或错误,生成报告等... 不是软件,允许其他开发人员查看和注释您的代码以解决问题。



FindBugs 非常受欢迎,并具有高水平的支持,而 checkstyle 并不遥远。我没有使用任何其他的。 (网站不是很多,但软件工程)


Are there any automated code review tools for Java? Especially plugins for Eclipse? The tool I expect is an automated code review plugin or tool that can automatically detect the problems in Code. ( Microsoft does this using OACR ).Plugins like Jupiter won't help because they are just peer review tools for eclipse.

解决方案

What you mean is not automated code-review but static code analysis.

For Java tools see: http://en.wikipedia.org/wiki/List_of_tools_for_static_code_analysis#Java

Basically, the difference between code-review and static-code-analysis is one you've already noted. You're curious about software that you can run that will tell you potential issues or bugs, generate reports etc... not software that allows other developers to review and annotate your code for issues.

FindBugs is very popular and has a high level of support, and checkstyle isn't far behind. I've not used any others. (the websites aren't much to look at, but the software works)

这篇关于什么是好的静态代码分析插件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆