A dynamic code coverage approach to maximize fault localization efficiency

被引:20
|
作者
Perez, Alexandre [1 ]
Abreu, Rui [1 ]
Riboira, Andre [1 ]
机构
[1] Univ Porto, Fac Engn, Dept Informat Engn, P-4100 Oporto, Portugal
关键词
Dynamic coverage; Software diagnosis; Spectrum-based fault localization; MODEL;
D O I
10.1016/j.jss.2013.12.036
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Spectrum-based fault localization is amongst the most effective techniques for automatic fault localization. However, abstractions of program execution traces, one of the required inputs for this technique, require instrumentation of the software under test at a statement level of granularity in order to compute a list of potential faulty statements. This introduces a considerable overhead in the fault localization process, which can even become prohibitive in, e.g., resource constrained environments. To counter this problem, we propose a new approach, coined dynamic code coverage (DCC), aimed at reducing this instrumentation overhead. This technique, by means of using coarser instrumentation, starts by analyzing coverage traces for large components of the system under test. It then progressively increases the instrumentation detail for faulty components, until the statement level of detail is reached. To assess the validity of our proposed approach, an empirical evaluation was performed, injecting faults in six real-world software projects. The empirical evaluation demonstrates that the dynamic code coverage approach reduces the execution overhead that exists in spectrum-based fault localization, and even presents,a more concise potential fault ranking to the user. We have observed execution time reductions of 27% on average and diagnostic report size reductions of 77% on average. (C) 2014 Elsevier Inc. All rights reserved.
引用
收藏
页码:18 / 28
页数:11
相关论文
共 50 条
  • [21] Enhanced Code Coverage Approach for Regression Testing
    Fawzy, Mohamed Mamdouh
    EI-Mahallawy, Mohamed S.
    Ei-Deeb, Hesham
    2015 INTERNATIONAL CONFERENCE ON CONTROL, INSTRUMENTATION, COMMUNICATION AND COMPUTATIONAL TECHNOLOGIES (ICCICCT), 2015, : 438 - 442
  • [22] Optimized Localization for the inverting substation to maximize the braking efficiency of the DC railways
    Kamel, Tamer
    Tian, Zhongbei
    Zangiabadi, Mansoureh
    Wade, Neal
    Pickert, Volker
    Tricoli, Pietro
    2021 IEEE 15TH INTERNATIONAL CONFERENCE ON COMPATIBILITY, POWER ELECTRONICS AND POWER ENGINEERING (CPE-POWERENG), 2021,
  • [23] Fault Localization for Dynamic Web Applications
    Artzi, Shay
    Dolby, Julian
    Tip, Frank
    Pistoia, Marco
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2012, 38 (02) : 314 - 335
  • [24] Code Coverage Measurement for Android Dynamic Analysis Tools
    Huang, Chun-Ying
    Chiu, Ching-Hsiang
    Lin, Chih-Hung
    Tzeng, Han-Wei
    2015 IEEE THIRD INTERNATIONAL CONFERENCE ON MOBILE SERVICES MS 2015, 2015, : 209 - 216
  • [25] Effective code coverage in compositional systematic dynamic testing
    Wan, Zhiyuan
    Zhou, Bo
    Proceedings - 2011 6th IEEE Joint International Information Technology and Artificial Intelligence Conference, ITAIC 2011, 2011, 1 : 173 - 176
  • [26] Co-adapting Mobile Sensor Networks to Maximize Coverage in Dynamic Environments
    De Rainville, Francois-Michel
    Gagne, Christian
    Laurendeau, Denis
    PROCEEDINGS OF THE FOURTEENTH INTERNATIONAL CONFERENCE ON GENETIC AND EVOLUTIONARY COMPUTATION COMPANION (GECCO'12), 2012, : 1409 - 1410
  • [27] A fault localization approach based on fault propagation context
    Yan, Yue
    Jiang, Shujuan
    Zhang, Yanmei
    Zhang, Shenggang
    Zhang, Cheng
    INFORMATION AND SOFTWARE TECHNOLOGY, 2023, 160
  • [28] Software Fault Localization Based on Redundant Coverage Information Reduction
    Wang H.-R.
    Cui Z.-Q.
    Yue L.
    Chen X.
    Zheng L.-W.
    Tien Tzu Hsueh Pao/Acta Electronica Sinica, 2024, 52 (01): : 324 - 337
  • [29] The Influence of Code Coverage Metrics on Automated Testing Efficiency in Android
    Dashevskyi, Stanislav
    Gadyatskaya, Olga
    Pilgun, Aleksandr
    Zhauniarovich, Yury
    PROCEEDINGS OF THE 2018 ACM SIGSAC CONFERENCE ON COMPUTER AND COMMUNICATIONS SECURITY (CCS'18), 2018, : 2216 - 2218
  • [30] Lightweight Fault-Localization Using Multiple Coverage Types
    Santelices, Raul
    Jones, James A.
    Yu, Yanbing
    Harrold, Mary Jean
    2009 31ST INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, PROCEEDINGS, 2009, : 56 - +