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

对引入缺陷的更改进行探索性研究:探索引入缺陷的更改与因果理解之间的关系

An Exploratory Study of Bug-Introducing Changes: Exploring Relationships in Bug-Introducing Changes Towards Causal Understanding

University of Passau(帕绍大学);Universidad de Los Andes(洛斯安第斯大学)

Lukas Schulte, Anamaria Mojica-Hanke, Mario Linares-Vásquez, Steffen Herbold

AI总结:

本研究通过探索软件开发实践中与缺陷引入更改的关系,为理解因果机制提供了基础框架。

摘要:

背景:许多研究考虑软件工程过程中的个别方面与缺陷引入之间的关系,例如软件测试和代码审查。这些研究通常只识别其变量集之间的相关性,而没有考虑与其他变量的交互作用,例如干扰因素。 目的:在本研究中,我们提供了一个广泛的实证观点,探讨软件开发实践及其与引入缺陷的更改之间的关系,以促进未来对这些方面之间因果关系的研究。 方法:我们考虑缺陷、引入缺陷的更改类型、构建过程的方面、代码审查、软件测试以及与缺陷相关的任何讨论。我们采用一种定性方法,首先描述开发过程的变量,然后根据它们的关系对变量进行分组。从这些分组中,我们推断它们(成对)的交互如何影响引入缺陷的更改。 结果:我们发现了多个与引入缺陷的更改开发过程相关的相关关系。变量的逻辑分组及其关系提供了一个框架,用于发现过程中的中间效应和干扰因素。 结论:在引入缺陷的开发过程中应用的软件工程实践是相互依赖的。这项工作为通过因果建模、发现和推理理解为什么引入缺陷奠定了基础。

英文摘要:

Context: Many studies consider the relation between individual aspects of the software engineering process and bug-introduction, e.g., software testing and code review. These studies typically only identify correlations between their set of variables without accounting for interactions with external variables, such as confounding factors. Objective: Within this study, we provide a broad empirical view on practices of software development and their relation to bug-introducing changes \rev{to enable} future work on causal relations between those aspects. Method: We consider the bugs, the type of change that introduced the bug, aspects of the build process, code review, software tests, and any other discussion related to the bug that we can identify. We use a qualitative approach that first describes variables of the development process and then groups the variables based on their relations. From these groups, we deduce how their (pairwise) interactions affect bug-introducing changes. Results: We found multiple relevant relations within the development process of bug-introducing changes. Logical groups of variables and their relations provide a framework for discovering areas of interest regarding intermediate effects in the process and confounders towards bug-introduction. Conclusion: Software engineering practices applied during the development of bug-introducing changes are interdependent. This work lays the foundation to understand why bugs are introduced using causal modeling, discovery, and inference.

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

↑