A Framework for Improving Fault Localization Effectiveness Based on Fuzzy Expert System

Many spectrum-based fault localization (SBFL) techniques have been proposed in order to improve debugging efficiency. These SBFL techniques were designed according to different underlying assumptions and then adopt different fault locator functions to evaluate the likelihood of each statement being...

Full description

Bibliographic Details
Main Authors: Chu-Ti Lin, Wen-Yuan Chen, Jutarporn Intasara
Format: Article
Language:English
Published: IEEE 2021-01-01
Series:IEEE Access
Subjects:
Online Access:https://ieeexplore.ieee.org/document/9447747/
id doaj-a92ae972ae6844b896e36c5f86e9991e
record_format Article
spelling doaj-a92ae972ae6844b896e36c5f86e9991e2021-06-14T23:00:48ZengIEEEIEEE Access2169-35362021-01-019825778259610.1109/ACCESS.2021.30868789447747A Framework for Improving Fault Localization Effectiveness Based on Fuzzy Expert SystemChu-Ti Lin0https://orcid.org/0000-0003-2184-9700Wen-Yuan Chen1Jutarporn Intasara2Department of Computer Science and Information Engineering, National Chiayi University, Chiayi, TaiwanDepartment of Computer Science and Information Engineering, National Chiayi University, Chiayi, TaiwanDepartment of Computer Science and Information Engineering, National Chiayi University, Chiayi, TaiwanMany spectrum-based fault localization (SBFL) techniques have been proposed in order to improve debugging efficiency. These SBFL techniques were designed according to different underlying assumptions and then adopt different fault locator functions to evaluate the likelihood of each statement being faulty, called suspiciousness. So far no single SBFL technique claims that it can outperform all of the others under every scenario. That is, the effectiveness of fault localization may vary considerably by just adopting a single SBFL technique. Due to the aforementioned reasons, this study presents a framework for improving fault localization effectiveness by using a Fuzzy Expert System (FES) to integrate different SBFL techniques. In the presented framework, the outputs of several SBFL techniques will be put into the fuzzification and then transferred to fuzzy input sets. After undergoing the fuzzy inference based on the given fuzzy rules, the fuzzy input sets will be transferred to a fuzzy output set. Finally, the fuzzy set will be transferred to a crisp output (called a weighted suspiciousness value). The code statements will then be ranked according to their weighted suspiciousness values. In other words, no additional instrumentations and analyses on the source code and the test suite are necessary for our approach. Our experiment results indicate that our FES-based framework is effective at combining the SBFL techniques from different equivalent groups and achieves high effectiveness on the nine subject programs. It is also noted that in the literature, most of the approaches that combine multiple SBFL techniques are learning-based and they are suitable for long-term projects with sufficient historical data. Since our approach does not reference historical data for model training, it can be applied to new software projects. Thus, the application scenarios of our approach should be complementary to those of the state-of-the-art learning-based approaches.https://ieeexplore.ieee.org/document/9447747/Software debuggingfault localizationfuzzy expert system
collection DOAJ
language English
format Article
sources DOAJ
author Chu-Ti Lin
Wen-Yuan Chen
Jutarporn Intasara
spellingShingle Chu-Ti Lin
Wen-Yuan Chen
Jutarporn Intasara
A Framework for Improving Fault Localization Effectiveness Based on Fuzzy Expert System
IEEE Access
Software debugging
fault localization
fuzzy expert system
author_facet Chu-Ti Lin
Wen-Yuan Chen
Jutarporn Intasara
author_sort Chu-Ti Lin
title A Framework for Improving Fault Localization Effectiveness Based on Fuzzy Expert System
title_short A Framework for Improving Fault Localization Effectiveness Based on Fuzzy Expert System
title_full A Framework for Improving Fault Localization Effectiveness Based on Fuzzy Expert System
title_fullStr A Framework for Improving Fault Localization Effectiveness Based on Fuzzy Expert System
title_full_unstemmed A Framework for Improving Fault Localization Effectiveness Based on Fuzzy Expert System
title_sort framework for improving fault localization effectiveness based on fuzzy expert system
publisher IEEE
series IEEE Access
issn 2169-3536
publishDate 2021-01-01
description Many spectrum-based fault localization (SBFL) techniques have been proposed in order to improve debugging efficiency. These SBFL techniques were designed according to different underlying assumptions and then adopt different fault locator functions to evaluate the likelihood of each statement being faulty, called suspiciousness. So far no single SBFL technique claims that it can outperform all of the others under every scenario. That is, the effectiveness of fault localization may vary considerably by just adopting a single SBFL technique. Due to the aforementioned reasons, this study presents a framework for improving fault localization effectiveness by using a Fuzzy Expert System (FES) to integrate different SBFL techniques. In the presented framework, the outputs of several SBFL techniques will be put into the fuzzification and then transferred to fuzzy input sets. After undergoing the fuzzy inference based on the given fuzzy rules, the fuzzy input sets will be transferred to a fuzzy output set. Finally, the fuzzy set will be transferred to a crisp output (called a weighted suspiciousness value). The code statements will then be ranked according to their weighted suspiciousness values. In other words, no additional instrumentations and analyses on the source code and the test suite are necessary for our approach. Our experiment results indicate that our FES-based framework is effective at combining the SBFL techniques from different equivalent groups and achieves high effectiveness on the nine subject programs. It is also noted that in the literature, most of the approaches that combine multiple SBFL techniques are learning-based and they are suitable for long-term projects with sufficient historical data. Since our approach does not reference historical data for model training, it can be applied to new software projects. Thus, the application scenarios of our approach should be complementary to those of the state-of-the-art learning-based approaches.
topic Software debugging
fault localization
fuzzy expert system
url https://ieeexplore.ieee.org/document/9447747/
work_keys_str_mv AT chutilin aframeworkforimprovingfaultlocalizationeffectivenessbasedonfuzzyexpertsystem
AT wenyuanchen aframeworkforimprovingfaultlocalizationeffectivenessbasedonfuzzyexpertsystem
AT jutarpornintasara aframeworkforimprovingfaultlocalizationeffectivenessbasedonfuzzyexpertsystem
AT chutilin frameworkforimprovingfaultlocalizationeffectivenessbasedonfuzzyexpertsystem
AT wenyuanchen frameworkforimprovingfaultlocalizationeffectivenessbasedonfuzzyexpertsystem
AT jutarpornintasara frameworkforimprovingfaultlocalizationeffectivenessbasedonfuzzyexpertsystem
_version_ 1721377841586634752