paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Investigating the Impact of Multiple Dependency Structures on Software Defects

探究多种依赖结构对软件缺陷的影响
ICSE 2019 IEEE/ACM 41st International Conference on Software Engineering (ICSE)2019匹配度 1/10 · 该论文研究软件缺陷预测/定位中不同依赖结构的影响,属于软件工程与经验研究,未涉及用户关注的 PL 与 AI/LLM/Agent 交叉、浮点程序分析、贝叶斯程序分析或静态分析工具在工业场景中的落地。引用 23 inbox
Di Cui, Ting Liu, Yuanfang Cai, Qinghua Zheng, Qiong Feng, Wuxia Jin, Jiaqi Guo, Yu Qu
crossref: 2026-09-12dblp: 2026-09-12

AI 速览

一句话:系统研究句法依赖、历史共变和语义相似三类依赖结构对缺陷预测与定位的差异化影响。

该论文关注缺陷预测与定位中常用依赖关系(句法依赖、历史共变更、语义相似)是否具有相似效果。作者从软件架构视角出发,将每种依赖类型涉及的文件视为独立设计空间,并用 DRSpace 建模。针对 117 个 Apache 开源项目,包含 643,079 次修订提交和 101,364 条缺陷报告,构建三类 DRSpace 并计算其与缺陷文件的交互。实验发现:三类依赖呈现显著不同的架构视图,且与缺陷文件的交互差异巨大,在缺陷预测/定位中角色完全不同;但组合这些结构有望提高准确率。工作为选择依赖关系及理解软件质量与架构视图关系提供了新视角。

问题
缺陷预测与定位常使用句法依赖、历史共变或语义相似等关系,但这些不同依赖关系是否具有相近的预测/定位准确率尚不清楚。
方法
从软件架构视角,将每类依赖涉及文件建模为 DRSpace,在 117 个 Apache 项目上构建三类 DRSpace,并计算其与缺陷文件的交互。
评估
基于 643,079 次修订提交和 101,364 条缺陷报告进行定量与定性分析,比较三类依赖的架构视图及缺陷交互差异。
原文摘要(Abstract)

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.

链接与引用

DOI 原文 · DBLP

BibTeX
@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}
}