paperbot · PL 论文追踪

全部论文 待读 收藏

On the Effects of Customized Configurations of Static Code Analysis Tools: A Prospective Cohort Study of SonarQube Cloud

论静态代码分析工具定制配置的影响:一项面向 SonarQube Cloud 的前瞻性队列研究
ASE Proceedings of the 41st IEEE/ACM International Conference on Automated Software Engineering2026引用 0 inbox
Sabato Nocera, Sira Vegas, Giuseppe Scanniello
crossref: 2026-10-09

AI 速览

一句话:通过前瞻性队列研究,评估 SonarQube Cloud 质量门定制配置对安全、可靠性和可维护性的影响。

静态代码分析工具常提供预定义配置,项目方可按目标定制质量门等设置,但其对代码质量属性的因果影响尚不明确。本文采用前瞻性队列研究,持续追踪 230 个开源 GitHub 项目,记录其 SonarQube Cloud 质量门配置在定制与预定义之间的转换,并比较二者对安全性、可靠性和可维护性的影响。结果显示,仅较宽松配置下的安全性出现显著效应,提示当要求被认为可达时,开发者更可能修复安全问题;可靠性和可维护性未发现显著影响,作者推测这可能因为二者被视为不如安全性紧迫或必要。

问题
静态代码分析工具允许项目定制质量门等配置,但这种定制对安全性、可靠性和可维护性的实际影响尚不清楚。
方法
采用前瞻性队列研究设计,追踪 230 个开源 GitHub 项目,监控 SonarQube Cloud 质量门在定制与预定义配置间的转换并进行比较。
评估
基于观察数据进行因果分析;仅在较宽松的安全性配置下观察到显著效应,可靠性与可维护性未发现显著影响。
原文摘要(Abstract)

Static Code Analysis (SCA) tools are used to detect issues and enforce code quality standards in software projects. SCA tools like SonarQube Cloud provide predefined configurations that project owners can customize depending on the goal of the project at hand. One such configuration is the quality gate, which defines the set of conditions that source code must satisfy to pass automated quality checks during software development. This paper investigates the impact of customizing SonarQube Cloud quality gates on security, reliability, and maintainability. We employ a prospective cohort study design to explore causal relationships using observational data. We track 230 open-source GitHub projects forward in time, monitoring transitions in configurations to ensure consistent adherence to either customized or predefined ones. A significant effect was observed only for security under less strict configurations, suggesting that developers could be more motivated to fix security issues when the requirements are perceived as attainable. For reliability and maintainability customizations, we speculate that the lack of impact may stem from these quality attributes being perceived as less essential or pressing compared to security.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@inproceedings{paperbot12366,
  title = {On the Effects of Customized Configurations of Static Code Analysis Tools: A Prospective Cohort Study of SonarQube Cloud},
  author = {Sabato Nocera and Sira Vegas and Giuseppe Scanniello},
  booktitle = {ASE},
  year = {2026},
  doi = {10.1145/3832783.3834408}
}