[Paper Review] How Far Does the Predictive Decision Impact the Software Project? The Cost, Service Time, and Failure Analysis from a Cross-Project Defect Prediction Model
This paper proposes a hybrid-inducer ensemble learning (HIEL) framework with probabilistic weighted majority voting (PWMV) for cross-project defect prediction (CPDP), significantly improving F-measure and AUC across PROMISE, NASA, and AEEEM datasets. The model reduces project costs, service time, and failure rates by introducing project-specific metrics: PPC (cost savings), PNPC (remaining work), and FOR (failure risk).
Context: Cross-project defect prediction (CPDP) models are being developed to optimize the testing resources. Objectives: Proposing an ensemble classification framework for CPDP as many existing models are lacking with better performances and analysing the main objectives of CPDP from the outcomes of the proposed classification framework. Method: For the classification task, we propose a bootstrap aggregation based hybrid-inducer ensemble learning (HIEL) technique that uses probabilistic weighted majority voting (PWMV) strategy. To know the impact of HIEL on the software project, we propose three project-specific performance measures such as percent of perfect cleans (PPC), percent of non-perfect cleans (PNPC), and false omission rate (FOR) from the predictions to calculate the amount of saved cost, remaining service time, and percent of the failures in the target project. Results: On many target projects from PROMISE, NASA, and AEEEM repositories, the proposed model outperformed recent works such as TDS, TCA+, HYDRA, TPTL, and CODEP in terms of F-measure. In terms of AUC, the TCA+ and HYDRA models stand as strong competitors to the HIEL model. Conclusion: For better predictions, we recommend ensemble learning approaches for the CPDP models. And, to estimate the benefits from the CPDP models, we recommend the above project-specific performance measures.
Motivation & Objective
- To address the limitations of existing CPDP models in performance and generalization across diverse projects.
- To develop an ensemble-based classification framework that enhances prediction accuracy through diversity in base learners.
- To introduce application-specific performance measures (PPC, PNPC, FOR) that link model predictions to real-world project outcomes like cost savings and residual work.
- To empirically validate the HIEL model against recent CPDP approaches such as TCA+, HYDRA, TDS, TPTL, and CODEP.
- To demonstrate the practical impact of CPDP models on software project management by quantifying cost, time, and failure implications.
Proposed method
- The HIEL framework employs bootstrap aggregation to generate 60 classifiers using six diverse inducers: Logistic Regression, SVM, Decision Trees, Naïve Bayes, k-NN, and Neural Networks.
- Each inducer is trained on a random subset of augmented defect data from source projects to ensure diversity in the ensemble.
- A probabilistic weighted majority voting (PWMV) combiner dynamically assigns weights to classifiers based on their prediction accuracy, updating weights using a parameter β to penalize errors and boost correct predictions.
- The PWMV mechanism ensures a tight upper bound on the number of mistakes made by the best-performing expert in the ensemble.
- The framework integrates module size (Lines of Code) with confusion matrix data to derive project-specific performance metrics: PPC, PNPC, and FOR.
- Empirical evaluation is conducted on PROMISE, NASA, and AEEEM repositories using standard metrics (F-measure, AUC) and the proposed outcome-based measures.
Experimental results
Research questions
- RQ1How does the proposed HIEL ensemble model compare in performance to recent CPDP models like TCA+, HYDRA, TDS, TPTL, and CODEP in terms of F-measure and AUC?
- RQ2To what extent can the HIEL model reduce project costs, remaining service time, and failure rates through novel performance metrics (PPC, PNPC, FOR)?
- RQ3Does the use of diverse base classifiers in an ensemble framework lead to better generalization and improved defect prediction across cross-project scenarios?
- RQ4Can the PWMV strategy effectively adapt to varying classifier performance and minimize errors in the final prediction decision?
- RQ5How do project-specific metrics (PPC, PNPC, FOR) provide actionable insights for project managers beyond traditional ML evaluation metrics?
Key findings
- The HIEL model achieved superior F-measure performance compared to TDS, TCA+, HYDRA, TPTL, and CODEP across multiple target projects from PROMISE, NASA, and AEEEM repositories.
- In terms of AUC, the HIEL model performed competitively with TCA+ and HYDRA, which were the strongest benchmarks in the evaluation.
- The proposed project-specific metrics—PPC (percent of perfect cleans), PNPC (percent of non-perfect cleans), and FOR (false omission rate)—provided actionable insights into cost savings, residual work, and failure risks.
- PPC indicated that the model could save a significant percentage of the project budget by identifying defect-free modules early.
- PNPC revealed the remaining testing effort required, showing that the model effectively reduced the workload on the test team.
- FOR values demonstrated that the model minimized the risk of undetected defects in released software, with lower FOR indicating higher reliability in failure avoidance.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.