“Analysis collector” or “SONAR” for Jenkins?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm looking at adding static code analysis to our Jenkins builds of a Java project (~500K lines of code). Two possibilities are Analysis Collector or SONAR . One advantage of SONAR looks to be it can show dead code and deprecated methods . Recommendations? 回答1: Sonar is not just a tool to integrate other tools in a unified environment. First with Sonar you can analyze not just Java source code but code developed in more than 20 languages. http://www.sonarsource.com/products/plugins/languages/ Then the star feature of Sonar is the