Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
An empirical study on the effectiveness of data resampling approaches for cross‐project software defect prediction
Wageningen Univ & Res, NLD.ORCID iD: 0000-0001-9140-9271
Massey University, NZL.ORCID iD: 0000-0001-9454-1366
University of Otago, NZL.
Blekinge Institute of Technology, Faculty of Computing, Department of Software Engineering. Blekinge Institute of Technology Karlskrona Sweden.ORCID iD: 0000-0003-0639-4234
2022 (English)In: IET Software, ISSN 1751-8806, E-ISSN 1751-8814, Vol. 16, no 2, p. 185-199Article in journal (Refereed) Published
Abstract [en]

Cross‐project defect prediction (CPDP), where data from different software projects are used to predict defects, has been proposed as a way to provide data for software projects that lack historical data. Evaluations of CPDP models using the Nearest Neighbour (NN)Filter approach have shown promising results in recent studies. A key challenge with defect‐prediction datasets is class imbalance, that is, highly skewed datasets where nonbuggy modules dominate the buggy modules. In the past, data resampling approaches have been applied to within‐projects defect prediction models to help alleviate the negative effects of class imbalance in the datasets. To address the class imbalance issue in CPDP, the authors assess the impact of data resampling approaches on CPDP models after the NN Filter is applied. The impact on prediction performance of five oversampling approaches (MAHAKIL, SMOTE, Borderline‐SMOTE, Random Oversamplingand ADASYN) and three undersampling approaches (Random Undersampling, Tomek Links and One‐sided selection) is investigated and results are compared to approaches without data resampling. The authors examined six defect prediction models on34 datasets extracted from the PROMISE repository. The authors' results show that there is a significant positive effect of data resampling on CPDP performance, suggesting that software quality teams and researchers should consider applying data resampling approaches for improved recall (pd) and g‐measure prediction performance. However, if the goal is to improve precision and reduce false alarm (pf) then data resampling approaches should be avoided.

Place, publisher, year, edition, pages
John Wiley & Sons, 2022. Vol. 16, no 2, p. 185-199
Keywords [en]
Defect prediction, software metrics, software quality
National Category
Software Engineering
Research subject
Software Engineering; Computer Science
Identifiers
URN: urn:nbn:se:bth-22433DOI: 10.1049/sfw2.12052ISI: 000723085500001Scopus ID: 2-s2.0-85126754816OAI: oai:DiVA.org:bth-22433DiVA, id: diva2:1617148
Funder
ELLIIT - The Linköping‐Lund Initiative on IT and Mobile Communications
Note

open access

Available from: 2021-12-06 Created: 2021-12-06 Last updated: 2022-04-08Bibliographically approved

Open Access in DiVA

fulltext(1315 kB)234 downloads
File information
File name FULLTEXT01.pdfFile size 1315 kBChecksum SHA-512
03d9c661de942578f511fee1360a4bbab663601dfd5e70cc43525fe88a88ed7fe71078032eef960b787ba5c675d4ed129abe04fe63b630ec3bb7908f4c6a4498
Type fulltextMimetype application/pdf

Other links

Publisher's full textScopus

Authority records

Börstler, Jürgen

Search in DiVA

By author/editor
Bennin, Kwabena EboTahir, AmjedBörstler, Jürgen
By organisation
Department of Software Engineering
In the same journal
IET Software
Software Engineering

Search outside of DiVA

GoogleGoogle Scholar
Total: 234 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

doi
urn-nbn

Altmetric score

doi
urn-nbn
Total: 237 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf