首页 | 本学科首页   官方微博 | 高级检索  
     

基于路径分析和信息熵的错误定位方法
引用本文:姜淑娟,张旭,王荣存,黄颖,张艳梅,薛猛. 基于路径分析和信息熵的错误定位方法[J]. 软件学报, 2021, 32(7): 2166-2182
作者姓名:姜淑娟  张旭  王荣存  黄颖  张艳梅  薛猛
作者单位:中国矿业大学矿山数字化教育部工程研究中心,江苏徐州221116;中国矿业大学计算机科学与技术学院,江苏徐州221116;中国矿业大学矿山数字化教育部工程研究中心,江苏徐州221116;中国矿业大学计算机科学与技术学院,江苏徐州221116;高安全系统的软件开发与验证技术工业和信息化部重点实验室(南京航空航天大学),江苏南京211106
基金项目:国家自然科学基金(61673384);江苏省自然科学基金(BK20181353);高安全系统的软件开发与验证技术工业信息化部重点实验室开放基金(1015-56XCA18164).
摘    要:软件错误定位是一项耗时又费力的工作,因此如何提高软件错误定位的自动化程度一直以来都是软件工程领域研究的热点.现有的基于频谱的错误定位方法很少利用程序的上下文信息,而程序的上下文信息对错误定位至关重要.针对这一问题,提出了一种基于路径分析和信息熵的错误定位方法FLPI.该方法在基于频谱信息技术的基础上,通过对所有执行路径...

关 键 词:错误定位  上下文信息  信息熵  路径分析
收稿时间:2020-09-14
修稿时间:2020-10-26

Fault Localization Approach Based on Path Analysis and Information Entropy
JIANG Shu-Juan,ZHANG Xu,WANG Rong-Cun,HUANG Ying,ZHANG Yan-Mei,XUE Meng. Fault Localization Approach Based on Path Analysis and Information Entropy[J]. Journal of Software, 2021, 32(7): 2166-2182
Authors:JIANG Shu-Juan  ZHANG Xu  WANG Rong-Cun  HUANG Ying  ZHANG Yan-Mei  XUE Meng
Affiliation:Engineering Research Center of Mine Digitalization (China University of Mining and Technology), Ministry of Education, Xuzhou 221116, China;School of Computer Science and Technology, China University of Mining and Technology, Xuzhou 221116, China;Engineering Research Center of Mine Digitalization (China University of Mining and Technology), Ministry of Education, Xuzhou 221116, China;School of Computer Science and Technology, China University of Mining and Technology, Xuzhou 221116, China;Key Laboratory of Safety-Critical Software (Nanjing University of Aeronautics and Astronautics), Ministry of Industry and Information Technology, Nanjing 211106, China
Abstract: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, the paper 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 were conducted on a set of benchmark programs and open source programs. Experimental results show that our FLPI approach can effectively improve the accuracy and efficiency of fault localization.
Keywords:fault localization  context information  information entropy  path analysis
本文献已被 万方数据 等数据库收录!
点击此处可从《软件学报》浏览原始摘要信息
点击此处可从《软件学报》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号