Software Fault Localization Based on Network Spectrum and Graph Neural Network

IF 5 2区 计算机科学 Q1 COMPUTER SCIENCE, HARDWARE & ARCHITECTURE
Xiaodong Gou;Ao Zhang;Chengguang Wang;Yan Liu;Xue Zhao;Shunkun Yang
{"title":"Software Fault Localization Based on Network Spectrum and Graph Neural Network","authors":"Xiaodong Gou;Ao Zhang;Chengguang Wang;Yan Liu;Xue Zhao;Shunkun Yang","doi":"10.1109/TR.2024.3374410","DOIUrl":null,"url":null,"abstract":"Accurate fault localization renders software test resource allocation and maintenance cost-efficient. However, this is challenging when there are false alarm repercussions caused by module coupling of complex software. In this article, therefore, we propose a new method for multiple software fault localization from the perspective of network spectrum based on a graph neural network model. First, we constructed the network model of the software under test to represent the coupling relationships among software modules based on complex network theory. In addition, test suits were executed and recorded to construct the program spectrum. Subsequently, the software network and program spectrum were fused into the network spectrum, and we reprocessed it with feature dimension reduction, normalization, and graph-based class-imbalance treatment. The graph neural network was then used to construct a multiple-fault location model based on the processed network spectrum. Empirical studies were performed on the Defects4J dataset. The experimental results indicated that the proposed method outperformed six baseline methods (with an average improvement of 13.03% on the T-EXAMscore). This study is expected to provide insights into more smart software quality and reliability assurance.","PeriodicalId":56305,"journal":{"name":"IEEE Transactions on Reliability","volume":"73 4","pages":"1819-1833"},"PeriodicalIF":5.0000,"publicationDate":"2024-03-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE Transactions on Reliability","FirstCategoryId":"94","ListUrlMain":"https://ieeexplore.ieee.org/document/10477224/","RegionNum":2,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, HARDWARE & ARCHITECTURE","Score":null,"Total":0}
引用次数: 0

Abstract

Accurate fault localization renders software test resource allocation and maintenance cost-efficient. However, this is challenging when there are false alarm repercussions caused by module coupling of complex software. In this article, therefore, we propose a new method for multiple software fault localization from the perspective of network spectrum based on a graph neural network model. First, we constructed the network model of the software under test to represent the coupling relationships among software modules based on complex network theory. In addition, test suits were executed and recorded to construct the program spectrum. Subsequently, the software network and program spectrum were fused into the network spectrum, and we reprocessed it with feature dimension reduction, normalization, and graph-based class-imbalance treatment. The graph neural network was then used to construct a multiple-fault location model based on the processed network spectrum. Empirical studies were performed on the Defects4J dataset. The experimental results indicated that the proposed method outperformed six baseline methods (with an average improvement of 13.03% on the T-EXAMscore). This study is expected to provide insights into more smart software quality and reliability assurance.
基于网络频谱和图神经网络的软件故障定位
准确的故障定位使软件测试资源分配和维护成本更低。然而,当复杂软件的模块耦合导致误报时,这是具有挑战性的。因此,本文提出了一种基于图神经网络模型的从网络频谱角度进行多软件故障定位的新方法。首先,基于复杂网络理论,构建被测软件的网络模型,表征软件模块间的耦合关系;另外,测试套装被执行并记录以构建程序谱。随后,将软件网络和程序频谱融合为网络频谱,并对其进行特征降维、归一化和基于图的类不平衡处理等再处理。然后基于处理后的网络频谱,利用图神经网络构建多故障定位模型。对缺陷4j数据集进行了实证研究。实验结果表明,该方法优于6种基准方法(T-EXAMscore平均提高13.03%)。该研究有望为更智能的软件质量和可靠性保证提供见解。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
IEEE Transactions on Reliability
IEEE Transactions on Reliability 工程技术-工程:电子与电气
CiteScore
12.20
自引率
8.50%
发文量
153
审稿时长
7.5 months
期刊介绍: IEEE Transactions on Reliability is a refereed journal for the reliability and allied disciplines including, but not limited to, maintainability, physics of failure, life testing, prognostics, design and manufacture for reliability, reliability for systems of systems, network availability, mission success, warranty, safety, and various measures of effectiveness. Topics eligible for publication range from hardware to software, from materials to systems, from consumer and industrial devices to manufacturing plants, from individual items to networks, from techniques for making things better to ways of predicting and measuring behavior in the field. As an engineering subject that supports new and existing technologies, we constantly expand into new areas of the assurance sciences.
×
引用
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学术官方微信