一句话:系统研究句法依赖、历史共变和语义相似三类依赖结构对缺陷预测与定位的差异化影响。
该论文关注缺陷预测与定位中常用依赖关系(句法依赖、历史共变更、语义相似)是否具有相似效果。作者从软件架构视角出发,将每种依赖类型涉及的文件视为独立设计空间,并用 DRSpace 建模。针对 117 个 Apache 开源项目,包含 643,079 次修订提交和 101,364 条缺陷报告,构建三类 DRSpace 并计算其与缺陷文件的交互。实验发现:三类依赖呈现显著不同的架构视图,且与缺陷文件的交互差异巨大,在缺陷预测/定位中角色完全不同;但组合这些结构有望提高准确率。工作为选择依赖关系及理解软件质量与架构视图关系提供了新视角。
Over the past decades, numerous approaches were proposed to help practitioner to predict or locate defective files. These techniques often use syntactic dependency, history co-change relation, or semantic similarity. The problem is that, it remains unclear whether these different dependency relations will present similar accuracy in terms of defect prediction and localization. In this paper, we present our systematic investigation of this question from the perspective of software architecture. Considering files involved in each dependency type as an individual design space, we model such a design space using one DRSpace. We derived 3 DRSpaces for each of the 117 Apache open source projects, with 643,079 revision commits and 101,364 bug reports in total, and calculated their interactions with defective files. The experiment results are surprising: the three dependency types present significantly different architectural views, and their interactions with defective files are also drastically different. Intuitively, they play completely different roles when used for defect prediction/localization. The good news is that the combination of these structures has the potential to improve the accuracy of defect prediction/localization. In summary, our work provides a new perspective regarding to which type(s) of relations should be used for the task of defect prediction/localization. These quantitative and qualitative results also advance our knowledge of the relationship between software quality and architectural views formed using different dependency types.
@inproceedings{CuiLCZFJGQ19,
title = {Investigating the Impact of Multiple Dependency Structures on Software Defects},
author = {Di Cui and Ting Liu and Yuanfang Cai and Qinghua Zheng and Qiong Feng and Wuxia Jin and Jiaqi Guo and Yu Qu},
booktitle = {ICSE},
year = {2019},
doi = {10.1109/icse.2019.00069}
}