Feature-FL: Feature-Based Fault Localization

被引:17
|
作者
Lei, Yan [1 ,2 ]
Xie, Huan [1 ,2 ]
Zhang, Tao [3 ]
Yan, Meng [1 ,2 ]
Xu, Zhou [1 ,2 ]
Sun, Chengnian [4 ]
机构
[1] Chongqing Univ, Minist Educ, Key Lab Dependable Serv Comp Cyber Phys Soc, Chongqing 400044, Peoples R China
[2] Chongqing Univ, Sch Big Data & Software Engn, Chongqing 400044, Peoples R China
[3] Macau Univ Sci & Technol, Fac Informat Technol, Macau 999078, Peoples R China
[4] Univ Waterloo, Cheriton Sch Comp Sci, Waterloo, ON N2L 3G1, Canada
基金
中国国家自然科学基金;
关键词
Location awareness; Feature extraction; Correlation; Debugging; Data models; Codes; Computer bugs; Execution probability; fault localization; feature selection; statistical debugging; suspiciousness; CLONING; IMPACT; SLICE;
D O I
10.1109/TR.2022.3140453
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Fault localization aims at developing an effective methodology identifying suspicious statements potentially responsible for program failures. The spectrum-based fault localization is the widely used methodology by analyzing the statistical coincidences viewed from the spectrum to evaluate the suspiciousness of each statement of being faulty. However, just analyzing statistical coincidences in the coverage information perspective and without combining diverse amount of information may restrict fault localization effectiveness. Thus, this article proposes feature-based fault localization (Feature-FL): A family fault localization methodology of feature-based metrics by combining the feature diversity from the view of program features into suspiciousness evaluation. Specifically, Feature-FL defines a concept of branching execution probability to abstract program behaviors as the values of features. Then, Feature-FL uses feature selection (i.e., a family of feature-based metrics) to evaluate the relevance of each feature with program failures. Finally, Feature-FL associates each feature with its corresponding statement, and uses the relevance as the suspiciousness to locate suspicious statements. We present six feature-based metrics for Feature-FL, and conduct an extensive study to evaluate the effectiveness of Feature-FL and its potential over the state-of-the-art spectrum-based formulas. Our results provide insight into the potential among different feature-based metrics and also show Feature-FL significantly outperforms the state-of-the-art spectrum-based formulas, e.g., an average saving of at least 30% over spectrum-based formulas in case of real faults.
引用
收藏
页码:264 / 283
页数:20
相关论文
共 50 条
  • [1] Feature-Based Attention and Feature-Based Expectation
    Summerfield, Christopher
    Egner, Tobias
    TRENDS IN COGNITIVE SCIENCES, 2016, 20 (06) : 401 - 404
  • [2] Feature-based concurrent mapping and localization for AUVs
    Smith, CM
    Leonard, JJ
    Bennett, AA
    Shaw, C
    OCEANS '97 MTS/IEEE CONFERENCE PROCEEDINGS, VOLS 1 AND 2, 1997, : 896 - 901
  • [3] Feature-based localization using scannable visibility sectors
    Kim, J
    Pearce, RA
    Amato, NM
    2003 IEEE INTERNATIONAL CONFERENCE ON ROBOTICS AND AUTOMATION, VOLS 1-3, PROCEEDINGS, 2003, : 2854 - 2859
  • [4] Feature-based visual simultaneous localization and mapping: a survey
    Azzam, Rana
    Taha, Tarek
    Huang, Shoudong
    Zweiri, Yahya
    SN APPLIED SCIENCES, 2020, 2 (02):
  • [5] Feature-based affine-invariant localization of faces
    Hamouz, M
    Kittler, J
    Kamarainen, JK
    Paalanen, P
    Kälviäinen, H
    Matas, J
    IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, 2005, 27 (09) : 1490 - 1495
  • [6] Skin color and feature-based segmentation for face localization
    de Dios, Juan Jose
    OPTICAL ENGINEERING, 2007, 46 (03)
  • [7] A feature-based approach for image tampering detection and localization
    Verdoliva, Luisa
    Cozzolino, Davide
    Poggi, Giovanni
    2014 IEEE INTERNATIONAL WORKSHOP ON INFORMATION FORENSICS AND SECURITY (WIFS'14), 2014, : 149 - 154
  • [8] Feature-Based Watermark Localization in Digital Capture Systems
    Holub, Vojtech
    Filler, Tomas
    MEDIA WATERMARKING, SECURITY, AND FORENSICS 2014, 2014, 9028
  • [9] SIMULTANEOUS LOCALIZATION AND MAPPING: A FEATURE-BASED PROBABILISTIC APPROACH
    Skrzypczynski, Piotr
    INTERNATIONAL JOURNAL OF APPLIED MATHEMATICS AND COMPUTER SCIENCE, 2009, 19 (04) : 575 - 588
  • [10] Feature-based visual simultaneous localization and mapping: a survey
    Rana Azzam
    Tarek Taha
    Shoudong Huang
    Yahya Zweiri
    SN Applied Sciences, 2020, 2