arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2511.10323cs.SE
收藏

大规模可执行/不可执行静态代码分析报告数据集

A Large-Scale Collection Of (Non-)Actionable Static Code Analysis Reports

University of Szeged(塞格德大学);FrontEndART Ltd.(FrontEndART有限公司)

Dávid Kószó, Tamás Aladics, Rudolf Ferenc, Péter Hegedűs

AI总结:

针对静态代码分析警报疲劳问题,本文提出可执行/不可执行SCA警告收集分类方法,构建了超百万条Java警告的大规模数据集NASCAR并公开,支撑相关研究。

摘要:

静态代码分析(SCA)工具虽在识别潜在编码问题、功能缺陷或漏洞方面极具价值,但往往会生成数量极多的警告,其中大量警告属于不可执行类。这种警报过载会引发“警报疲劳”现象,即开发者对警告逐渐脱敏,可能遗漏关键问题,最终阻碍生产效率提升与代码质量保障。分析这类警告并训练机器学习模型识别、过滤警告需要海量数据集,目前这类数据集十分稀缺,针对Java语言的数据集尤为匮乏,这一现状阻碍了SCA工具准确性与可用性的提升,也不利于缓解警报疲劳的影响。本文针对这一空白,提出了一种收集并分类SCA警告、有效区分可执行与不可执行警告的新方法。我们进一步利用该方法生成了包含超100万条Java源代码警告条目的大规模数据集,命名为NASCAR:(Non-)Actionable Static Code Analysis Reports(可执行/不可执行静态代码分析报告)。为推动该领域后续研究,我们将该数据集及生成数据集所用的工具全部公开。

英文摘要:

Static Code Analysis (SCA) tools, while invaluable for identifying potential coding problems, functional bugs, or vulnerabilities, often generate an overwhelming number of warnings, many of which are non-actionable. This overload of alerts leads to ``alert fatigue'', a phenomenon where developers become desensitized to warnings, potentially overlooking critical issues and ultimately hindering productivity and code quality. Analyzing these warnings and training machine learning models to identify and filter them requires substantial datasets, which are currently scarce, particularly for Java. This scarcity impedes efforts to improve the accuracy and usability of SCA tools and mitigate the effects of alert fatigue. In this paper, we address this gap by introducing a novel methodology for collecting and categorizing SCA warnings, effectively distinguishing actionable from non-actionable ones. We further leverage this methodology to generate a large-scale dataset of over 1 million entries of Java source code warnings, named NASCAR: (Non-)Actionable Static Code Analysis Reports. To facilitate follow-up research in this domain, we make both the dataset and the tools used to generate it publicly available.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑