Assessing the Effectiveness of Coverage-Based Fault Localizations Using Mutants

被引:2
|
作者
Xue, Xiaozhen [1 ]
Siami-Namini, Sima [2 ]
Namin, Akbar Siami [1 ]
机构
[1] Texas Tech Univ, Dept Comp Sci, Lubbock, TX 79409 USA
[2] Texas Tech Univ, Dept Appl Econ, Lubbock, TX 79409 USA
关键词
Fault localization; object-oriented programs; debugging; mutants; MUTATION;
D O I
10.1142/S0218194018500316
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Empirical studies show that coverage-based fault localizations are very effective in testing and debugging software applications. It is also a commonly held belief that no software testing techniques would perform best for all programs with various data structures and complexity. An important research question posed in this paper is whether the type and complexity of faults in a given program has any influence on the performance of these fault localization techniques. This paper investigates the performance of coverage-based fault localizations for different types of faults. We explore and compare the accuracy of these techniques for two large groups of faults often observed in object-oriented programs. First, we explore different types of traditional method-level faults grouped into six categories including those related to arithmetic, relational, conditional, logical, assignment, and shift. We then focus on class-level faults related to object-oriented features and group them into four categories including inheritance, overriding, Java specic features, and common programming mistakes. The results show that coverage-based fault localizations are less effective for class-level faults associated with object-oriented features of programs. We therefore advocate the needs for designing more effective fault localizations for debugging object-oriented and class-level defects.
引用
收藏
页码:1091 / 1119
页数:29
相关论文
共 50 条
  • [1] Coverage-Based Fault Localization in Haskell
    Li, Feng
    Wang, Guo-Qing
    Wang, Meng
    Hao, Dan
    JOURNAL OF COMPUTER SCIENCE AND TECHNOLOGY, 2025, 40 (01) : 158 - 177
  • [2] A Random and Coverage-based Approach for Fault Localization Prioritization
    Zhang, Xiao-Yi
    Towey, Dave
    Chen, Tsong Yueh
    Zheng, Zheng
    Cai, Kai-Yuan
    PROCEEDINGS OF THE 28TH CHINESE CONTROL AND DECISION CONFERENCE (2016 CCDC), 2016, : 3354 - 3361
  • [3] Properties of Effective Metrics for Coverage-Based Statistical Fault Localization
    Sun, Shih-Feng
    Podgurski, Andy
    2016 9TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION (ICST), 2016, : 124 - 134
  • [4] A family of code coverage-based heuristics for effective fault localization
    Wong, W. Eric
    Debroy, Vidroha
    Choi, Byoungju
    JOURNAL OF SYSTEMS AND SOFTWARE, 2010, 83 (02) : 188 - 208
  • [5] Fault Coverage-Based Test Case Prioritization and Selection Using African Buffalo Optimization
    Singhal, Shweta
    Jatana, Nishtha
    Subahi, Ahmad F.
    Gupta, Charu
    Khalaf, Osamah Ibrahim
    Alotaibi, Youseef
    CMC-COMPUTERS MATERIALS & CONTINUA, 2023, 74 (03): : 6755 - 6774
  • [6] A usage coverage-based approach for assessing product family design
    Jiliang Wang
    Bernard Yannou
    Fabrice Alizon
    Pierre-Alain Yvars
    Engineering with Computers, 2013, 29 : 449 - 465
  • [7] A usage coverage-based approach for assessing product family design
    Wang, Jiliang
    Yannou, Bernard
    Alizon, Fabrice
    Yvars, Pierre-Alain
    ENGINEERING WITH COMPUTERS, 2013, 29 (04) : 449 - 465
  • [8] Using Controlled Numbers of Real Faults and Mutants to Empirically Evaluate Coverage-Based Test Case Prioritization
    Paterson, David
    Kapfhammer, Gregory M.
    Fraser, Gordon
    McMinn, Phil
    2018 IEEE/ACM 13TH INTERNATIONAL WORKSHOP ON AUTOMATION OF SOFTWARE TEST (AST), 2018, : 57 - 63
  • [9] Fault detection probability analysis for coverage-based test suite reduction
    McMaster, Scott
    Memon, Atif
    2007 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, 2007, : 84 - 93
  • [10] Coverage-Based Classification Using Association Rule Mining
    Mattiev, Jamolbek
    Kavsek, Branko
    APPLIED SCIENCES-BASEL, 2020, 10 (20): : 1 - 18