期刊文献+

一种基于路径差异分析的缺陷定位方法

Fault localization method based on path difference
在线阅读 下载PDF
导出
摘要 基于路径差异分析的缺陷定位所使用的方法通常分为两类,即基于路径距离度量的方法和基于元素信息统计的方法。现有的研究方法各有所长但也存在以下缺陷:a)冗余路径的存在干扰可疑度分析结果或者导致早熟收敛,以致结果不准确;b)基于路径距离度量的方法往往只返回执行差异信息,未考虑语句在不同状态下重要程度不同;c)基于元素信息统计的方法包含了大量对定位没有意义的谓词和语句,忽略了对这些无意义元素的耗时耗力的统计。由于缺乏必要的引导信息,导致用来作差异分析的路径有效性较低,同时路径的元素集合较长而难以求解也降低了分析的精度,所以针对现存问题提出了分支路径聚类筛选的方法,同时给出路径分支踪迹模糊聚类算法Bpfc。通过实验结果以及与Tarantula等三种经典实验对比分析可以证实,该方法能提高缺陷定位的效率和精确度,同时应用范围广泛,对开发、测试人员有深远意义。 Path distance measurement method and element information statistical method are two basic methods for dynamic fault localization. Although the above of two methods have their own characteristics, they have the following problems:a)the existence of the redundant path will reduce the efficiency of the overall localization and even lead to premature convergence, the result may be inaccurate;b)the method based on path distance measurement only considers the difference of feedback information,while ignores different statement condition has different important degree;c)statistical method based on the element information generally includes plenty of predicates and statement, which have no contribution to fault localization and ignore the time-consuming statistics for meaningless elements. The efficiency of path difference analysis is lower due to lack of necessary guidance information, and it is difficult to process such a large-scale path set. To address the challenges above, this paper added a novel fault localization algorithm Bpfc to the selection of branch path clustering. This paper verified this method in improving the accuracy of the fault localization by comparing with three other classic fault localization methods like Tarantula. Its application scope is also broader than before, which has far-reaching significance to the developers and testers.
作者 黄小红
出处 《计算机应用研究》 CSCD 北大核心 2017年第4期1114-1119,共6页 Application Research of Computers
基金 国家质检公益性行业科研专项资助项目(201310032-3)
关键词 路径分支特征 路径差异 缺陷定位 模糊C-均值算法 path branch characteristics path difference fault localization fuzzy C-means algorithm
  • 相关文献

参考文献5

二级参考文献25

  • 1汪加才,朱艺华.模糊K-Prototypes算法中的加权指数研究[J].计算机应用,2005,25(2):348-351. 被引量:4
  • 2宫改云,高新波,伍忠东.FCM聚类算法中模糊加权指数m的优选方法[J].模糊系统与数学,2005,19(1):143-148. 被引量:81
  • 3毛澄映,卢炎生.分支测试中测试路径用例的简化生成方法[J].计算机研究与发展,2006,43(2):321-328. 被引量:17
  • 4周涓,熊忠阳,张玉芳,任芳.基于最大最小距离法的多中心聚类算法[J].计算机应用,2006,26(6):1425-1427. 被引量:72
  • 5修宇,王士同,吴锡生,胡德文.方向相似性聚类方法DSCM[J].计算机研究与发展,2006,43(8):1425-1431. 被引量:21
  • 6Renieris M, Reiss S P. Fault Localization with Nearest Neighbor Queries//Proceedings of the 18th International Conference on Automated Software Engineering ( ASE2003 ). Montreal, Canada, October 2003: 30-39
  • 7Denise A,Gaudel M C,Gouraud S D. A Genetic Method for Statistical Testing[C]//the Proceedings of 15^th International Sym posium on Software Reliability Engineering(ISSRE2004). Saint Malo,Bretagen,France,November 2004:25 -34
  • 8Weiser M. Program Slicing: Formal, Psychological and Practical Investigation of an Automatic Program Abstraction Method. Ph.D. Thesis. Univserisity of Michigan, Ann Arbor, Michigan, 1979
  • 9Agrawal H, Horgan J R, London S, et al. Fault Localization using Execution Slices and Dataflow Test//the Proceedings of the 6th International Symposium on Software Reliability Engineering. Toulouse, France,October 1995 : 143-151
  • 10Agrawal H, Horgan J R. Dynamic Program Slicing. In the Proceedings of the ACM SIGPLAN 1990 Conference on Programing Language Design and Implementation. White Plains, New York, SIGPLAN Notices,1990,25(6):246-256

共引文献76

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部