Software Fault Prediction With an Iterative Fuzzy Logic System Considering Interpretability With Imbalanced Datasets

Users expect software to be error‐free; however, preventing faults in software while being developed is difficult. Although predicting faults in software is arduous, it radically helps to improve the software quality. Due to the complexity of software, time, and budget limitations, such prediction helps to deliver more robust and error‐free software with lower expenses. This paper introduces an iterative method based on fuzzy systems and machine learning to predict software faults. High interpretability, transparency, balancing data, and finding the best interval for converting numerical features to fuzzy features are basic challenges for predicting software faults. The proposed framework is split into four phases. In the first phase, the crisp inputs are converted to fuzzy sets. In the second phase, a membership function is constructed using triangular fuzzy sets. In the third phase, training data are balanced, and fuzzy rules are generated. In the last phase, the similarity of inputs with the rules’ antecedents is calculated, and the fired rules are aggregated to label the test data. Eclipse, Promise, and Travis repositories are evaluated with the proposed method. The calculated AUC of the proposed method on Promise, Travis, and Eclipse datasets are, respectively, equal to 89%, 62% and 87%, which are comparable to the results obtained by deep learning methods but with higher interpretability and transparency.

Authors

Institutions

Publication Details

Journal
Advances in Fuzzy Systems
Published
2025-01-01
DOI
https://doi.org/10.1155/adfs/1212691
Primary Topic
Software Engineering Research
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Software Fault Prediction With an Iterative Fuzzy Logic System Considering Interpretability With Imbalanced Datasets

Hooman Tahayori, Bijendra Narayan Shahi
Advances in Fuzzy Systems
Software Engineering Research
article

Software Fault Prediction With an Iterative Fuzzy Logic System Considering Interpretability With Imbalanced Datasets

Hooman Tahayori, Bijendra Narayan Shahi
article en

Abstract

Users expect software to be error‐free; however, preventing faults in software while being developed is difficult. Although predicting faults in software is arduous, it radically helps to improve the software quality. Due to the complexity of software, time, and budget limitations, such prediction helps to deliver more robust and error‐free software with lower expenses. This paper introduces an iterative method based on fuzzy systems and machine learning to predict software faults. High interpretability, transparency, balancing data, and finding the best interval for converting numerical features to fuzzy features are basic challenges for predicting software faults. The proposed framework is split into four phases. In the first phase, the crisp inputs are converted to fuzzy sets. In the second phase, a membership function is constructed using triangular fuzzy sets. In the third phase, training data are balanced, and fuzzy rules are generated. In the last phase, the similarity of inputs with the rules’ antecedents is calculated, and the fired rules are aggregated to label the test data. Eclipse, Promise, and Travis repositories are evaluated with the proposed method. The calculated AUC of the proposed method on Promise, Travis, and Eclipse datasets are, respectively, equal to 89%, 62% and 87%, which are comparable to the results obtained by deep learning methods but with higher interpretability and transparency.

Advances in Fuzzy SystemsVol. 2025(1)
Shiraz University (IR)
Openalex Percentile: Top 59%
Software Engineering Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.