基于路径分析和信息熵的错误定位方法
作者:
作者单位:

作者简介:

姜淑娟(1966-),女,博士,教授,博士生导师,CCF专业会员,主要研究领域为软件分析与测试,编译技术,软件工程.
黄颖(1996-),女,学士,主要研究领域为软件分析与测试.
张旭(1994-),男,硕士,主要研究领域为软件分析与测试,错误定位.
张艳梅(1981-),女,博士,副教授,CCF专业会员,主要研究领域为软件分析与测试,强化学习,深度强化学习.
王荣存(1979-),男,博士,副教授,CCF专业会员,主要研究领域为软件测试,缺陷定位,软件维护.
薛猛(1979-),男,讲师,主要研究领域为软件测试,测试数据生成.

通讯作者:

王荣存,E-mail:rcwang@cumt.edu.cn

中图分类号:

基金项目:

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


Fault Localization Approach Based on Path Analysis and Information Entropy
Author:
Affiliation:

Fund Project:

National Natural Science Foundation of China (61673384); Natural Science Foundation of Jiangsu Province, China (BK20181353); Key Laboratory of Safety-Critical Software Ministry of Industry and Information Technology (1015-56XCA18164)

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    软件错误定位是一项耗时又费力的工作,因此如何提高软件错误定位的自动化程度一直以来都是软件工程领域研究的热点.现有的基于频谱的错误定位方法很少利用程序的上下文信息,而程序的上下文信息对错误定位至关重要.针对这一问题,提出了一种基于路径分析和信息熵的错误定位方法FLPI.该方法在基于频谱信息技术的基础上,通过对所有执行路径中的数据依赖关系进行分析来引入执行上下文信息,同时利用信息熵理论将测试事件信息引入到可疑语句的怀疑度计算公式中,以提高错误定位的精度和效率.为了评价该方法的有效性,基于一组基准程序和开源程序进行实验验证.实验结果表明,所提出的方法FLPI能够有效地提高错误定位的精度和效率.

    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, 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.

    参考文献
    相似文献
    引证文献
引用本文

姜淑娟,张旭,王荣存,黄颖,张艳梅,薛猛.基于路径分析和信息熵的错误定位方法.软件学报,2021,32(7):2166-2182

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2020-09-14
  • 最后修改日期:2020-10-26
  • 录用日期:
  • 在线发布日期: 2021-01-22
  • 出版日期: 2021-07-06
您是第位访问者
版权所有:中国科学院软件研究所 京ICP备05046678号-3
地址:北京市海淀区中关村南四街4号,邮政编码:100190
电话:010-62562563 传真:010-62562533 Email:jos@iscas.ac.cn
技术支持:北京勤云科技发展有限公司

京公网安备 11040202500063号