TY - JOUR
T1 - Software defect prediction based on fuzzy clustering weighted class association rule mining
AU - Shao, Yuanxun
AU - Wu, Wentao
AU - Wang, Shihai
AU - Liu, Bin
AU - Yao, Jingxiu
AU - Xie, Wandong
N1 - Publisher Copyright:
© 2026 Elsevier Inc. All rights are reserved, including those for text and data mining, AI training, and similar technologies.
PY - 2026/8/28
Y1 - 2026/8/28
N2 - Software defect prediction (SDP) is an effective means to assist software testing for resource allocation. Especially, it is recommended that association classification rule for SDP considers both comprehensibility and performance. However, due to class imbalance of software defect data, there is a preference to discover more non-defective class rules than defective ones in rule generation. Classical associative classification rule algorithms usually are assumed that metrics are of equal importance, which may lead to the elimination of useful rules. On the other hand, they adopt discretization methods to transform the continuous metric data into several disjoint hard intervals, ignoring the variation of interval boundary values leading to boundary sharpening. This promotes the emergence of fuzzy weighted associative classification. However, customized membership functions based on domain knowledge often fail to achieve self-adjustment of different data intervals. Therefore, we propose an innovative SDP model based on fuzzy clustering weighted class association rule mining (FCWCAR), which is considered to address the class imbalance, feature importance, and boundary sharpening problems simultaneously. The fuzzy clustering approach based on objective function can be employed to achieve smooth transition between fuzzy intervals, the multi-fuzzy weighted supports-based framework can be implemented to solve the class imbalance, and the Pearson correlation-based approach can be utilized to assign different weights to metrics. In addition, the rule ranking, pruning and prediction stages are optimized according to fuzzy weighted support. We conduct experiments on 27 open-source datasets and results show the validity and feasibility of FCWCAR in terms of Balance, (Formula presented), MCC, and (Formula presented) .
AB - Software defect prediction (SDP) is an effective means to assist software testing for resource allocation. Especially, it is recommended that association classification rule for SDP considers both comprehensibility and performance. However, due to class imbalance of software defect data, there is a preference to discover more non-defective class rules than defective ones in rule generation. Classical associative classification rule algorithms usually are assumed that metrics are of equal importance, which may lead to the elimination of useful rules. On the other hand, they adopt discretization methods to transform the continuous metric data into several disjoint hard intervals, ignoring the variation of interval boundary values leading to boundary sharpening. This promotes the emergence of fuzzy weighted associative classification. However, customized membership functions based on domain knowledge often fail to achieve self-adjustment of different data intervals. Therefore, we propose an innovative SDP model based on fuzzy clustering weighted class association rule mining (FCWCAR), which is considered to address the class imbalance, feature importance, and boundary sharpening problems simultaneously. The fuzzy clustering approach based on objective function can be employed to achieve smooth transition between fuzzy intervals, the multi-fuzzy weighted supports-based framework can be implemented to solve the class imbalance, and the Pearson correlation-based approach can be utilized to assign different weights to metrics. In addition, the rule ranking, pruning and prediction stages are optimized according to fuzzy weighted support. We conduct experiments on 27 open-source datasets and results show the validity and feasibility of FCWCAR in terms of Balance, (Formula presented), MCC, and (Formula presented) .
KW - Associative classification
KW - Class imbalance
KW - Fuzzy clustering
KW - Membership function
KW - Metric weighting
KW - Software defect prediction
UR - https://www.scopus.com/pages/publications/105048235031
U2 - 10.1016/j.bdr.2026.100637
DO - 10.1016/j.bdr.2026.100637
M3 - 文章
AN - SCOPUS:105048235031
SN - 2214-5796
VL - 45
JO - Big Data Research
JF - Big Data Research
M1 - 100637
ER -