Investigating the Impact of Multiple Dependency Structures on Software Defects

Di Cui, Ting Liu, Yuanfang Cai, Q. Zheng, Qiong Feng, Wuxia Jin, Jiaqi Guo, YunHuan Qu
{"title":"Investigating the Impact of Multiple Dependency Structures on Software Defects","authors":"Di Cui, Ting Liu, Yuanfang Cai, Q. Zheng, Qiong Feng, Wuxia Jin, Jiaqi Guo, YunHuan Qu","doi":"10.1109/ICSE.2019.00069","DOIUrl":null,"url":null,"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.","PeriodicalId":6736,"journal":{"name":"2019 IEEE/ACM 41st International Conference on Software Engineering (ICSE)","volume":"31 1","pages":"584-595"},"PeriodicalIF":0.0000,"publicationDate":"2019-05-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"17","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2019 IEEE/ACM 41st International Conference on Software Engineering (ICSE)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICSE.2019.00069","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 17

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.
研究多种依赖结构对软件缺陷的影响
在过去的几十年里,提出了许多方法来帮助从业者预测或定位有缺陷的文件。这些技术通常使用句法依赖性、历史共变关系或语义相似性。问题是,这些不同的依赖关系是否会在缺陷预测和定位方面呈现相似的准确性仍然不清楚。在本文中,我们从软件体系结构的角度对这个问题进行了系统的研究。考虑到每个依赖类型中涉及的文件作为一个单独的设计空间,我们使用一个DRSpace对这样的设计空间进行建模。我们为117个Apache开源项目中的每个项目导出了3个drspace,总共有643,079个修订提交和101,364个错误报告,并计算了它们与有缺陷文件的交互。实验结果令人惊讶:三种依赖类型呈现出明显不同的体系结构视图,它们与有缺陷的文件的交互也完全不同。直观地说,当用于缺陷预测/定位时,它们扮演着完全不同的角色。好消息是,这些结构的组合有可能提高缺陷预测/定位的准确性。总之,我们的工作提供了一种新的视角,关于哪种类型的关系应该用于缺陷预测/定位的任务。这些定量和定性的结果也促进了我们对软件质量和使用不同依赖类型形成的架构视图之间关系的认识。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信