论文标题
关于源代码重用对缺陷pre骨和维护工作的采用和影响
On the Adoption and Effects of Source Code Reuse on Defect Proneness and Maintenance Effort
论文作者
论文摘要
语境。软件可重复性机制,例如以对象为导向的编程中的继承和委派,被广泛认为是软件设计的关键工具。除了减少维护和进化源代码所需的精力外,这些用于减少源代码受到缺陷影响的风险。传统上,以前的工作已将源代码重用指标用于预测目的,例如在缺陷预测的背景下。客观的。但是,我们的研究确定了当前文献的两个明显局限性。首先,随着时间的推移,开发人员实际采用代码重用机制的程度知之甚少。其次,目前尚不清楚这些机制如何有助于解释软件演化期间缺陷 - 主持性和维护工作。我们旨在弥合这一知识差距,因为对这些方面的改进理解可能会提供对这些机制提供的实际支持,例如,通过建议是否以及如何将其用于预测目的的实际支持。方法。我们提出了一项探索性研究,目的是(1)评估开发人员在软件演化过程中如何使用继承和授权; (2)统计分析遗产和授权对错误倾斜度和维护工作的影响。这项研究将在17个Java项目的投入下进行,缺陷4J数据集。
Context. Software reusability mechanisms, like inheritance and delegation in Object-Oriented programming, are widely recognized as key instruments of software design. These are used to reduce the risks of source code being affected by defects, other than to reduce the effort required to maintain and evolve source code. Previous work has traditionally employed source code reuse metrics for prediction purposes, e.g., in the context of defect prediction. Objective. However, our research identifies two noticeable limitations of current literature. First, still little is known on the extent to which developers actually employ code reuse mechanisms over time. Second, it is still unclear how these mechanisms may contribute to explain defect-proneness and maintenance effort during software evolution. We aim at bridging this gap of knowledge, as an improved understanding of these aspects might provide insights into the actual support provided by these mechanisms, e.g., by suggesting whether and how to use them for prediction purposes. Method. We propose an exploratory study aiming at (1) assessing how developers use inheritance and delegation during software evolution; and (2) statistically analyze the impact of inheritance and delegation on fault proneness and maintenance effort. The study will be conducted on the commits of 17 Java projects of the DEFECTS4J dataset.