Skip to main content
QUICK REVIEW

[Paper Review] An empirical study of public data quality problems in cross project defect prediction

Zhongbin Sun, Junqi Li|arXiv (Cornell University)|May 28, 2018
Software Engineering ResearchComputer Science3 references7 citations
TL;DR

This study identifies and resolves data quality issues—specifically duplicate and inconsistent defect cases—in the widely used Jureczko datasets for cross-project defect prediction (CPDP). By cleaning the datasets and comparing performance using three data selection methods and two classifiers, the authors demonstrate that the cleaned data yield significantly different and more reliable prediction results, highlighting the critical impact of data quality on CPDP accuracy.

ABSTRACT

Background: Two public defect data, including Jureczko and NASA datasets, have been widely used in cross project defect prediction (CPDP). The quality of defect data have been reported as an important factor influencing the defect prediction performance and Shepperd et al. have researched the data quality problems in NASA datasets. However, up to now, there is no research focusing on the quality problems of Jureczko datasets which are most widely used in CPDP. Aims: In this paper, we intend to investigate the problems of identical and inconsistent cases in Jureczko datasets and validate whether removing these problematic cases will make a difference to defect prediction performance in CPDP. Method: The problems of identical and inconsistent cases are reported from two aspects, respectively in each individual dataset and in a pair of datasets from different releases of a software project. Then a cleaned version of Jureczko datasets is provided by removing duplicate and inconsistent cases. Finally three training data selection methods are employed to compare the defect prediction performance of cleaned datasets with that of original datasets. Results: The experimental results in terms of AUC and F-Measure show that most datasets obtain very different defect prediction performance. Conclusions: It is very necessary to study the data quality problems in CPDP and the cleaned Jureczko datasets may provide more reliable defect prediction performance in CPDP.

Motivation & Objective

  • To investigate data quality problems—specifically identical and inconsistent cases—in the widely used Jureczko datasets for cross-project defect prediction (CPDP).
  • To evaluate whether removing duplicate and inconsistent cases improves defect prediction performance in CPDP.
  • To provide a cleaned version of the Jureczko datasets to support more reliable and reproducible CPDP research.
  • To compare the performance of original versus cleaned datasets using standard training data selection methods and evaluation metrics.

Proposed method

  • Identified identical and inconsistent cases within individual Jureczko datasets and across different releases of the same software project.
  • Proposed a data cleaning method to remove duplicate and inconsistent defect cases from the Jureczko datasets.
  • Generated a cleaned version of the Jureczko datasets by eliminating problematic cases based on code and defect metadata alignment.
  • Applied three training data selection methods—PetersF, BurakF, and NearestNeighbor—to select source data for CPDP models.
  • Evaluated model performance using two classifiers (C4.5 and Random Forest) and two metrics: AUC and F-Measure.
  • Conducted comparative experiments between original and cleaned datasets to assess performance differences.

Experimental results

Research questions

  • RQ1What extent do identical and inconsistent defect cases exist in the Jureczko datasets across individual projects and different releases?
  • RQ2How do duplicate and inconsistent cases affect the performance of cross-project defect prediction models?
  • RQ3Does removing these problematic cases lead to a measurable improvement in prediction performance?
  • RQ4Are the performance differences between original and cleaned datasets statistically significant across multiple datasets and evaluation metrics?

Key findings

  • The cleaned Jureczko datasets showed significantly different defect prediction performance compared to the original datasets, indicating that data quality issues directly impact model reliability.
  • For most datasets, the AUC and F-Measure values changed substantially after data cleaning, with average AUC changes ranging from -3.02% to 3.09%.
  • The F-Measure changes were more pronounced than AUC changes, with more datasets showing non-zero performance differences, indicating stronger sensitivity to data quality in F-Measure.
  • The study found that many datasets had non-zero performance differences across all three training data selection methods, confirming the pervasive impact of data quality.
  • The results demonstrate that data quality problems in public datasets like Jureczko can lead to misleading or inconsistent research outcomes in CPDP.
  • The authors conclude that cleaning public datasets is essential for achieving more accurate and reliable cross-project defect prediction results.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.