首页> 外文期刊>The Journal of Systems and Software >Some SonarQube issues have a significant but small effect on faults and changes. A large-scale empirical study
【24h】

Some SonarQube issues have a significant but small effect on faults and changes. A large-scale empirical study

机译:一些Sonarqube问题对故障和变化具有重要但小的影响。大规模的实证研究

获取原文
获取原文并翻译 | 示例
           

摘要

Context: Companies frequently invest effort to remove technical issues believed to impact software qualities, such as removing anti-patterns or coding styles violations. Objective: We aim to analyze the diffuseness of SonarQube issues in software systems and to assess their impact on code changes and fault-proneness, considering also their different types and severities. Methods: We conducted a case study among 33 Java projects from the Apache Software Foundation repository. Results: We analyzed 726 commits containing 27K faults and 12M changes in Java files. The projects violated 173 SonarQube rules generating more than 95K SonarQube issues in more than 200K classes. Classes not affected by SonarQube issues are less change-prone than affected ones, but the difference between the groups is small. Non-affected classes are slightly more change-prone than classes affected by SonarQube issues of type Code Smell or Security Vulnerability. As for fault-proneness, there is no difference between non-affected and affected classes. Moreover, we found incongruities in the type and severity assigned by SonarQube. Conclusion: Our result can be useful for practitioners to understand which SonarQube issues should be refactored and for researchers to bridge the missing gaps. Moreover, results can also support companies and tool vendors in identifying SonarQube issues as accurately as possible.
机译:背景信息:公司经常投入努力,删除相信的技术问题,以阻止违反反模式或编码风格的侵犯。目的:我们旨在分析SONARQUBE问题在软件系统中的扩散,并评估其对代码变化和故障的影响,考虑到它们的不同类型和严重性。方法:我们在Apache软件基础存储库中进行了33个Java项目的案例研究。结果:我们分析了726个包含27k故障的提交和Java文件的12M更改。该项目违反了173个Sonarqube规则,在200k多课中产生了超过95k的Sonarqube问题。不受SOORARQUBE问题影响的课程比受影响的易于变化,但是组之间的差异很小。非受影响的类比Sonarqube类型代码嗅觉或安全漏洞影响的课程略高于易于变化。对于故障而言,无影响和受影响的类别之间没有区别。此外,我们发现了Sonarqube分配的类型和严重性的不协调。结论:我们的结果对于从业者可以了解哪些Sonarqube问题应该重构和研究人员来弥合缺失的差距。此外,结果还可以支持尽可能准确地识别Sonarqube问题的公司和工具供应商。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号