Skip to main navigation Skip to search Skip to main content

A Novel Approach for Software Defect Prediction Through Relational Association Rules Based on Cost-Sensitive Learning

  • Meng Tian
  • , Shihai Wang*
  • , Wentao Wu
  • , Wandong Xie
  • *Corresponding author for this work
  • Beihang University
  • Information Center of China North Industries Group Corporation

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Software defect prediction (SDP) can predict software modules with potential defect risks before software testing, thereby optimizing the allocation of testing resources. Relational association rules can characterize the relations between data attributes and reveal relevant patterns in complex data. We propose a software defect prediction model using relational association rules based on cost-sensitive learning (CSLRAR). To address the inherent class-imbalance problem of defect data, CSLRAR employs one-class classification strategy to separately mine relational association rules for the defective class and non-defective class using Apriori. Furthermore, we use all training data to construct a feature relational association rule selection mechanism, which which serves as the basis for defective relational association rules set (RAR+) and non-defective relational association rules set (RAR-) to determine whether the rule is retained. The feature relational association rule selection mechanism can improve the quality of the rules set obtained during the rule generation stage. In addition, we conducted experimental evaluations on nine publicly available datasets from the PROMISE database. By comparing and analyzing five baseline models, it has been proven that CSLRAR is significantly better than the baseline in terms of Balance, MCC, and Gmean.

Original languageEnglish
Title of host publicationProceedings - 2024 IEEE 24th International Conference on Software Quality, Reliability and Security Companion, QRS-C 2024
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages880-886
Number of pages7
ISBN (Electronic)9798350365658
DOIs
StatePublished - 2024
Event24th IEEE International Conference on Software Quality, Reliability and Security Companion, QRS-C 2024 - Cambridge, United Kingdom
Duration: 1 Jul 20245 Jul 2024

Publication series

NameProceedings - 2024 IEEE 24th International Conference on Software Quality, Reliability and Security Companion, QRS-C 2024

Conference

Conference24th IEEE International Conference on Software Quality, Reliability and Security Companion, QRS-C 2024
Country/TerritoryUnited Kingdom
CityCambridge
Period1/07/245/07/24

Keywords

  • Class imbalance
  • Data mining
  • Relational association rule
  • Software defect prediction

Fingerprint

Dive into the research topics of 'A Novel Approach for Software Defect Prediction Through Relational Association Rules Based on Cost-Sensitive Learning'. Together they form a unique fingerprint.

Cite this