arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.16404cs.SE
收藏

关于使用提交信息进行纠正性软件维护:一项系统映射研究

On the Use of Commit Messages for Corrective Software Maintenance: A Systematic Mapping Study

Télécom Paris, Institut Polytechnique de Paris(巴黎电信学院,巴黎理工学院)

Syful Islam, Stefano Zacchiroli

AI总结:

本文通过系统映射研究97篇2004至2025年发表的文献,探讨提交信息在纠正性维护中的应用,发现提交信息在 bug 分析和修复识别中作用显著,但其他领域如自动程序修复研究较少。

摘要:

纠正性维护对于确保软件质量至关重要,能够提高可靠性和用户体验。在版本控制系统中,开发者编写提交信息以记录更改并支持后续维护。然而,至今尚无研究系统地映射了提交信息在纠正性维护中的研究现状。本文对2004年至2025年5月发表的97篇主要文献进行了系统映射研究,探讨了目标、源代码 artifacts 和提交信息的潜在利用、方法论、相关方以及提交信息对纠正性维护的影响。我们的分析发现,提交信息在执行纠正性维护任务中的使用日益增加,特别是针对 bug 分析和 bug 修复识别目标。令人惊讶的是,很少有研究涉及其他主题,如自动程序修复、安全开发实践等。我们发现,在提交信息中使用最频繁的软件 artifacts 是提交“diffs”,而仓库挖掘、自然语言处理(NLP)和人工智能/机器学习(AI/ML)是该领域研究的方法论基础。在先前研究中考虑的相关方中,开发者在塑造纠正性维护实践方面起着最重要的作用。先前研究关于提交信息的主要发现表明,它们在纠正性维护中具有重要作用,因为它们承载了有助于相关方通过软件演化过程理解并改进代码库的关键信息。然而,通常提交信息缺乏重要信息,不足以向未来读者传达代码更改的意图。

英文摘要:

Corrective maintenance is crucial to ensure the quality of software, thereby improving reliability and user experience. In a version control system (VCS), developers write commit messages to document their changes and support later maintenance. Still, to this day, no secondary study has mapped the research landscape of how commit messages have been used in corrective software maintenance. We present a systematic mapping study of 97 primary sources published between 2004 and May 2025, where we examine the goals, potential utilization of source code artifacts along with commit messages, methodologies, stakeholders, and the key findings about their influence on corrective maintenance. Our analysis reveals a growing interest in the usage of commit messages to perform corrective maintenance tasks, in particular for bug analysis and bug fix identification goals. Surprisingly few studies address other themes such as automated program repair, security development practices, etc. We find that the software artifacts most used in combination with commit messages are commit "diffs" and that repository mining, together with natural language processing (NLP) and artificial intelligence/machine learning (AI/ML) are the methodological foundations of studies in this field. Among stakeholders considered in previous studies, developers play the most important role in shaping corrective maintenance practices. Key findings in previous studies about commit messages establish their significant role in corrective maintenance, due to the fact that they carry crucial information helpful for stakeholders to understand and improve the code base through the software evolution process. Often, though, commit messages lack important information and are not enough to convey the intent of code changes to future readers.

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

↑