2008 · 704 citations · 26 references
ComputingComputer ScienceMachine LearningPredictive AnalyticsSoftware EngineeringClassificationDecision TreesDefect ClassificationDefect DetectionSoftware MaintenanceSoftware MetricsClassification ModelsCost-sensitive ClassificationDefect PredictionLogistic RegressionMetricsNaive BayesProcess MetricsSoftware Fault Prediction
The study compares the predictive power of product‑related versus process‑related metrics for defect prediction. The authors classify Eclipse Java files as defective or defect‑free using product and process metrics with logistic regression, Naïve Bayes, and decision trees, applying cost‑sensitive learning. Process metrics outperform code metrics, achieving over 75 % accuracy, more than 80 % recall, and less than 30 % false‑positive rate.
In this paper we present a comparative analysis of the predictive power of two different sets of metrics for defect prediction. We choose one set of product related and one set of process related software metrics and use them for classifying Java files of the Eclipse project as defective respective defect-free. Classification models are built using three common machine learners: logistic regression, Naïve Bayes, and decision trees. To allow different costs for prediction errors we perform cost-sensitive classification, which proves to be very successful: >75% percentage of correctly classified files, a recall of >80%, and a false positive rate <30%. Results indicate that for the Eclipse data, process metrics are more efficient defect predictors than code metrics.
26
Nonparametric Statistical Methods
Technometrics · 1999 · 6.2K citations
Mining metrics to predict component failures
Nachiappan Nagappan, Thomas Ball, Andreas Zeller · 2006 · 779 citations