You are required to read and agree to the below before accessing a full-text version of an article in the IDE article repository.

The full-text document you are about to access is subject to national and international copyright laws. In most cases (but not necessarily all) the consequence is that personal use is allowed given that the copyright owner is duly acknowledged and respected. All other use (typically) require an explicit permission (often in writing) by the copyright owner.

For the reports in this repository we specifically note that

  • the use of articles under IEEE copyright is governed by the IEEE copyright policy (available at http://www.ieee.org/web/publications/rights/copyrightpolicy.html)
  • the use of articles under ACM copyright is governed by the ACM copyright policy (available at http://www.acm.org/pubs/copyright_policy/)
  • technical reports and other articles issued by M‰lardalen University is free for personal use. For other use, the explicit consent of the authors is required
  • in other cases, please contact the copyright owner for detailed information

By accepting I agree to acknowledge and respect the rights of the copyright owner of the document I am about to access.

If you are in doubt, feel free to contact webmaster@ide.mdh.se

CODE: A Moving Window-Based Framework for Detecting Concept Drift in Software Defect Prediction

Publication Type:

Journal article

Venue:

Symmetry

DOI:

https://doi.org/10.3390/sym14122508


Abstract

Concept Drift (CD) refers to the data distributions that may vary after a minimum stable period. CD negatively influences the models’ performance of software defect prediction (SDP) trained on past datasets when applied to the new datasets. Based on the previous studies of SDP, it is confirmed that the accuracy of prediction models negatively affect due to the changes of the data distributions. In this paper, a moving window-based concept drift detection (CODE) framework is proposed to detect CD in the chronological defect datasets and aimed to investigate the feasibility of alleviating CD in the chronological defect datasets. The proposed CODE framework consists of four steps, in which the first pre-processes the defect datasets and forms a cross-version (CV) chronological data, the second constructs the CV defect models, the third calculates the test statistics, and the fourth provides a hypothesis-test based CD detection method. In prior studies of SDP, it is observed that class rebalancing techniques modify the distribution of training datasets and improve the prediction performance of models. The ability of CODE framework is demonstrated by conducting experiments on 36 versions of 10 software projects. Some of the key findings are: (1) Up to 50% of the chronological defect datasets are drift-prone while applying the most popular classifiers used from the SDP literature. (2) The class rebalancing techniques had a positive impact on the prediction performance for CVDP by correctly classifying the CV defective modules and detected CD by up to 31% on the resampled datasets.

Bibtex

@article{Kabir 6569,
author = {Md Alamgir Kabir and Shahina Begum and Mobyen Uddin Ahmed and Atiq Ur Rehman},
title = {CODE: A Moving Window-Based Framework for Detecting Concept Drift in Software Defect Prediction },
isbn = { ISSN: 2073-8994 },
editor = {MPDI},
volume = {15},
number = {2073-8994 },
pages = {1--25},
month = {November},
year = {2022},
journal = {Symmetry},
url = {http://www.es.mdu.se/publications/6569-}
}