简体   繁体   English

clearcase和sonar qube集成可确保源代码质量

[英]clearcase and sonar qube integration for source code quality

I am looking for a confirmation regarding a code quality control tool (sonarqube) which can be integrated/used along with my version control tool clearcase. 我正在寻找有关代码质量控制工具(sonarqube)的确认,可以与我的版本控制工具clearcase集成/一起使用。

I heard about sonarQube but not sure whether we can use it along with Clearcase. 我听说过sonarQube,但不确定是否可以将它与Clearcase一起使用。 I would like to know if it is possible to use sonarqube along with Clearcase. 我想知道是否可以与Clearcase一起使用sonarqube。

As described here , SonarQube would integrate itself more with the successor of ClearCase: IBM RTC and its Jazz Source Control module. 如此处所述 ,SonarQube将自己与ClearCase的后继者进行更多集成: IBM RTC及其Jazz Source Control模块。

http://www.ibm.com/developerworks/rational/library/integrate-sonarqube-devops-environment/figure002.png

That being said, the SonarQube Plugin Library page does mention a ClearCase plugin , for you to try. 话虽如此, SonarQube插件库页面确实提到了ClearCase插件 ,供您尝试。

Despite VonC's excellent answer, it's not clear to me what you mean by "integrate with" so I want to expand a little on the topic. 尽管VonC给出了出色的答案,但我不清楚“与...集成”是什么意思,因此我想对这个话题进行一些扩展。

SonarQube does not: SonarQube不:

  • check out your code 签出您的代码
  • build your code 建立你的代码

These things must be handled externally to your analysis, typically by a CI engine such as Jenkins (or the Jazz Build Engine). 这些事情必须在分析的外部进行处理,通常是由CI引擎(例如Jenkins(或Jazz Build Engine))进行处理。

The SonarAnalyzer does: SonarAnalyzer可以:

  • execute static analysis of your code 对代码执行静态分析
  • contact your SCM to get "blame" information for each line of each file. 请与您的SCM联系以获取每个文件每一行的“非常规”信息。

The blame data retrieved by the analyzer is used to associate each source file line with the last committer in the SonarQube UI, and to assign to issues to their assumed authors. 分析器检索到的非常规数据用于将每个源文件行与SonarQube UI中的最后一个提交者相关联,并将问题分配给假定的作者。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM