【问题标题】:Is there a way to generate a supressions.xml file for checkstyle from the existing codebase?有没有办法从现有的代码库为 checkstyle 生成一个 supressions.xml 文件?
【发布时间】:2012-03-07 02:06:37
【问题描述】:

我有一个遗留代码库,我想添加一整套 checkstyle 检查,以便今后代码库更改将符合检查。

我知道我必须将所有现有故障放入supressions.xml 文件中。有没有办法从现有的 checkstyle 失败报告生成supressions.xml 文件?

【问题讨论】:

    标签: java legacy checkstyle legacy-code suppress-warnings


    【解决方案1】:

    现在有。以下是如何让 Checkstyle 在 Legacy 代码库上全速运行: http://juliangamble.com/blog/2012/03/10/running-checkstyle-at-full-throttle-on-a-legacy-codebase/

    (如果您遇到开源工具无法解决的问题 - 请自行解决!)

    【讨论】:

      猜你喜欢
      • 2019-05-10
      • 2021-04-13
      • 1970-01-01
      • 2021-07-22
      • 2010-09-07
      • 1970-01-01
      • 2023-02-04
      • 1970-01-01
      • 2023-03-18
      相关资源
      最近更新 更多