IDEAS home Printed from https://ideas.repec.org/a/gam/jmathe/v10y2022i14p2425-d860853.html
   My bibliography  Save this article

A Fault Localization Method Based on Metrics Combination

Author

Listed:
  • Adekunle Ajibode

    (School of Computer Science and Technology, Zhejiang Sci-Tech University, Hangzhou 310018, China)

  • Ting Shu

    (School of Computer Science and Technology, Zhejiang Sci-Tech University, Hangzhou 310018, China)

  • Kabir Said

    (School of Computer Science and Technology, Zhejiang Sci-Tech University, Hangzhou 310018, China)

  • Zuohua Ding

    (School of Computer Science and Technology, Zhejiang Sci-Tech University, Hangzhou 310018, China)

Abstract

Spectrum-Based Fault Localization (SBFL) is one of the most effective fault localization techniques, and its performance closely depends on the program spectra and the ranking formula. Despite the numerous proposed approaches for fault localization, there are still great demands for fault localization techniques that can help guide developers to the locations of faults. Therefore, this paper defines four metrics from the program spectrum, which can become essential components of ranking formulas to mitigate spectrum-based fault localization problems. These metrics are further combined to propose a new heuristic, Metrics Combination (MECO), which does not require any prior information on program structure or semantics to locate faults effectively. The evaluation experiments are conducted on the Defects4J and SIR datasets, and MECO is compared with the 18 maximal formulas. The experimental result shows that MECO is more efficient in terms of Precision, Accuracy, and Wasted Efforts than the compared formulas. An empirical evaluation also indicates that two of the defined metrics, Assumption Proportion and Fault Assumption, when combined with the existing formulas, improve the localization effectiveness, especially the precision of ER5a-c (77.77%), GP02 (41%), and GP19 (27.22%), respectively.

Suggested Citation

  • Adekunle Ajibode & Ting Shu & Kabir Said & Zuohua Ding, 2022. "A Fault Localization Method Based on Metrics Combination," Mathematics, MDPI, vol. 10(14), pages 1-23, July.
  • Handle: RePEc:gam:jmathe:v:10:y:2022:i:14:p:2425-:d:860853
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/10/14/2425/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/10/14/2425/
    Download Restriction: no
    ---><---

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Adekunle Ajibode & Ting Shu & Laghari Gulsher & Zuohua Ding, 2022. "Effectively Combining Risk Evaluation Metrics for Precise Fault Localization," Mathematics, MDPI, vol. 10(21), pages 1-24, October.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jmathe:v:10:y:2022:i:14:p:2425-:d:860853. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.