基于条件概率模型的缺陷定位方法
作者:
作者单位:

作者简介:

舒挺(1979-),男,浙江宁海人,博士,副教授,CCF专业会员,主要研究领域为软件建模,分析与测试;黄明献(1989-),男,硕士,主要研究领域为软件测试;丁佐华(1964-),男,博士,教授,博士生导师,CCF高级会员,主要研究领域为软件测试与可靠性,软件建模与分析,软件自适应控制系统,智能计算及应用;王磊(1991-),男,硕士生,主要研究领域为软件测试,缺陷定位;夏劲松(1967-),男,讲师,主要研究领域为自适应软件建模与验证,协同工程,数据分析.

通讯作者:

舒挺,E-mail:shuting@zstu.edu.cn

中图分类号:

基金项目:

国家自然科学基金(61101111,61572441);浙江省自然科学基金(LY17F020033)


Fault Localization Method Based on Conditional Probability Model
Author:
Affiliation:

Fund Project:

National Natural Science Foundation of China (61101111, 61572441); Natural Science Foundation of ZhejiangProvince (LY17F020033)

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

    缺陷定位是软件调试的重要阶段,依赖程序频谱信息实现软件缺陷定位,是当前比较行之有效的方法.基于频谱缺陷定位方法应用的前提是,程序频谱和执行结果之间存在的潜在关联.通过经验性分析两者之间的内在关联,借助于统计学的条件概率思想,构建了用以量化分析两者关系强弱的P模型,并基于此提出了基于条件概率的缺陷定位方法.以Siemens套件中的7个程序、Space程序和3个Unix工具程序为基准评测对象,与已有的15种经典缺陷定位方法进行了对比实验.实证研究结果表明,该方法总体上具有更好的缺陷定位效果.

    Abstract:

    Fault localization is an essential step of software debugging, and spectrum-based fault localization (SFL) is currently amongst the most effective methods. The fundamental premise underlying SFL is that there exists a potential relationship between program spectra and the corresponding execution results. To formally describe and accurately quantify this relation, this paper introduces the conception of conditional probability to construct a P model by using the statistical analysis of experimental data. In addition, based on the presented P model, a fault localization method is proposed to effectively locate the faulty statement of the program under test. Finally, taking seven programs contained in the Siemens suite, Space program and three real-life Unix utility programs as the benchmark, a detailed experiment is conducted to evaluate the effectiveness and efficiency of the proposed method. Compared with fifteen classic fault localization methods, the experimental results show that the presented approach is more promising.

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

舒挺,黄明献,丁佐华,王磊,夏劲松.基于条件概率模型的缺陷定位方法.软件学报,2018,29(6):1756-1769

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

京公网安备 11040202500063号