将静态分析工具相互集成? [英] Integrating static analysis tools with each other?

查看:173
本文介绍了将静态分析工具相互集成?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

人们如何整合各种静态分析工具,如PMD,Checkstyle和FindBugs,以便它们以统一的方式一起使用?特别是,我有兴趣生成一个统一的报告,其中包含来自所有工具的警告。此外,我希望能够使用合理一致的警告抑制来标记我的代码。

How are folks integrating various static analysis tools such as PMD, Checkstyle, and FindBugs so that they are used together in some uniform way? In particular, I'm interested in generating a single uniform report that includes warnings from all tools. Also, I want to be able to mark-up my code with reasonably consistent looking warning suppressions.

我的问题在这里并不是要解决工具重叠的地方,比如说,PMD和Checkstyle正在寻找相同的东西。这是另一个问题。

My question here is not meant to address tool "overlap" where, say, PMD and Checkstyle are looking for the same things. That is another issue.

请参阅我的一些对答案中的问题的想法 一个相关的问题

推荐答案

另一种选择是收集。 http://jbrugge.com/glean/

Another option is glean. http://jbrugge.com/glean/

从他们的网站:Glean是一个Ant脚本框架,用于生成团队源代码的反馈。 Glean的目标是尽可能减少对构建周期的反馈。这些脚本驱动了许多开源工具并收集生成的HTML,以便您部署到项目网站或其他一些常见的团队区域。在每日构建周期结束时添加它,这是一种快速方法,可以在一个地方保持大量反馈源的最新状态。

From their website: Glean is a framework of Ant scripts for generating feedback on a team's source code. Glean's goal is to make it possible to add feedback to your build cycle with as little pain as possible. The scripts drive a number of open-source tools and collect the resulting HTML for you to deploy to a project website or some other common team area. Add it at the end of a daily build cycle and it is a quick way to keep a number of feedback sources up to date and in one place.

这篇关于将静态分析工具相互集成?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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