Skip to main navigation Skip to search Skip to main content

Software defect prediction based on fuzzy clustering weighted class association rule mining

  • Yuanxun Shao
  • , Wentao Wu*
  • , Shihai Wang
  • , Bin Liu
  • , Jingxiu Yao
  • , Wandong Xie
  • *Corresponding author for this work
  • Aerospace Science and Industry Network Information Development CO.
  • China North Vehicle Research Institute
  • Science and Technology on Reliability and Environmental Engineering Laboratory
  • Beihang University
  • Information Center of China North Industries Group Corporation

Research output: Contribution to journal › Article › peer-review

Abstract

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) .

Original languageEnglish
Article number100637
JournalBig Data Research
Volume45
DOIs
StatePublished - 28 Aug 2026

Keywords

  • Associative classification
  • Class imbalance
  • Fuzzy clustering
  • Membership function
  • Metric weighting
  • Software defect prediction

Fingerprint

Dive into the research topics of 'Software defect prediction based on fuzzy clustering weighted class association rule mining'. Together they form a unique fingerprint.

Cite this