基于路径分析和信息熵的错误定位方法  被引量:7

Fault Localization Approach Based on Path Analysis and Information Entropy

在线阅读下载全文

作  者:姜淑娟[1,2] 张旭[1,2] 王荣存 黄颖[1,2] 张艳梅 薛猛[1,2] JIANG Shu-Juan;ZHANG Xu;WANG Rong-Cun;HUANG Ying;ZHANG Yan-Mei;XUE Meng(Engineering Research Center of Mine Digitalization of Ministry of Education(China University of Mining and Technology),Xuzhou 221116,China;School of Computer Science and Technology,China University of Mining and Technology,Xuzhou 221116,China;Key Laboratory of Safety-Critical Software of Ministry of Industry and Information Technology(Nanjing University of Aeronautics and Astronautics),Nanjing 211106,China)

机构地区:[1]中国矿业大学矿山数字化教育部工程研究中心,江苏徐州221116 [2]中国矿业大学计算机科学与技术学院,江苏徐州221116 [3]高安全系统的软件开发与验证技术工业和信息化部重点实验室(南京航空航天大学),江苏南京211106

出  处:《软件学报》2021年第7期2166-2182,共17页Journal of Software

基  金:国家自然科学基金(61673384);江苏省自然科学基金(BK20181353);高安全系统的软件开发与验证技术工业信息化部重点实验室开放基金(1015-56XCA18164)。

摘  要:软件错误定位是一项耗时又费力的工作,因此如何提高软件错误定位的自动化程度一直以来都是软件工程领域研究的热点.现有的基于频谱的错误定位方法很少利用程序的上下文信息,而程序的上下文信息对错误定位至关重要.针对这一问题,提出了一种基于路径分析和信息熵的错误定位方法FLPI.该方法在基于频谱信息技术的基础上,通过对所有执行路径中的数据依赖关系进行分析来引入执行上下文信息,同时利用信息熵理论将测试事件信息引入到可疑语句的怀疑度计算公式中,以提高错误定位的精度和效率.为了评价该方法的有效性,基于一组基准程序和开源程序进行实验验证.实验结果表明,所提出的方法FLPI能够有效地提高错误定位的精度和效率.Software fault localization is a time-consuming and laborious work,so determining how to improve the automation of software fault localization has always been a hot topic in the field of software engineering.The existing spectrum-based fault localization(SBFL)methods rarely use the context information of the program,which is very important for fault localization.To solve this problem,this study proposes a fault localization approach based on path analysis and information entropy(FLPI).Based on the spectrum information technology,this approach introduces the execution context information by analyzing the data dependencies in all execution paths,and introduces the test event information into the suspiciousness formula by using the information entropy theory,so as to maximize the accuracy and efficiency of fault localization.To evaluate the effectiveness of the proposed approach,the experiments are conducted on a set of benchmark programs and open source programs.Experimental results show that the proposed FLPI approach can effectively improve the accuracy and efficiency of fault localization.

关 键 词:错误定位 上下文信息 信息熵 路径分析 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象