软件缺陷预测从业者信念的评估
Assessing Practitioner Beliefs about Software Defect Prediction
摘要:
仅仅因为软件开发人员说他们相信“X”,并不一定意味着“X”是真的。正如这里所示,在最近的软件工程文献中列出了许多信念,这些信念只得到一小部分可用数据的支持。因此,我们要问,信念和证据之间的这种脱节的根源是什么?为了回答这个问题,我们在数十个开源项目中看到的30万多个变化中寻找十个信念的证据。其中一些信念在所有项目中都得到了强有力的支持;特别是,“涉及更多添加和删除行的提交更容易出现bug”和“由其所有者(贡献最多更改的人)贡献较少行的文件更容易出现bug”。大多数被研究的广泛持有的信念在数据中只得到零星的支持;即大的影响可能出现在项目数据中,然后在随后的发布中消失。这种零星的支持解释了为什么开发人员相信与他们以前的工作相关的东西,但不一定是他们当前的工作。我们的结论是,我们需要改变与软件工程争论的性质。具体而言,虽然报告当前有效的影响很重要,但报告随着时间的推移会发生哪些影响也很重要。
英文摘要:
Just because software developers say they believe in "X", that does not necessarily mean that "X" is true. As shown here, there exist numerous beliefs listed in the recent Software Engineering literature which are only supported by small portions of the available data. Hence we ask what is the source of this disconnect between beliefs and evidence?. To answer this question we look for evidence for ten beliefs within 300,000+ changes seen in dozens of open-source projects. Some of those beliefs had strong support across all the projects; specifically, "A commit that involves more added and removed lines is more bug-prone" and "Files with fewer lines contributed by their owners (who contribute most changes) are bug-prone". Most of the widely-held beliefs studied are only sporadically supported in the data; i.e. large effects can appear in project data and then disappear in subsequent releases. Such sporadic support explains why developers believe things that were relevant to their prior work, but not necessarily their current work. Our conclusion will be that we need to change the nature of the debate with Software Engineering. Specifically, while it is important to report the effects that hold right now, it is also important to report on what effects change over time.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。