2008 · 27 citations · 16 references
ComputingComputer ScienceData MiningPredictive AnalyticsSoftware EngineeringFault DetectionSoftware Development Life Cycle ManagementSoftware EvolutionSoftware MaintenanceSoftware MetricsSystems Development Life CycleCode ChurnDefect PredictionFault PredictionLogistic RegressionMetricsPrediction ModelsSoftware Fault PredictionStepwise Regression
Code churn, the amount of code change taking place within a software unit over time, has been correlated with fault-proneness in software systems. We investigate the use of code churn and static metrics collected at regular time intervals during the development cycle to predict faults in an iterative, in-process manner. We collected 159 churn and structure metrics from six, four-month snapshots of a 1 million LOC Microsoft product. The number of software faults fixed during each period is recorded per binary module. Using stepwise logistic regression, we create a prediction model to identify fault-prone binaries using three parameters: code churn (the number of new and changed blocks); class Fan In and class Fan Out (normalized by lines of code). The iteratively-built model is 80.0% accurate at predicting fault-prone and non-fault-prone binaries. These fault-prediction models have the advantage of allowing the engineers to observe how their fault-prediction profile evolves over time.
16
A User's Guide to Principal Components
Stefan D. Leigh, J. Edward Jackson · Technometrics · 1993 · 3.4K citations
Predicting fault incidence using software change history
Todd Graves, Alan F. Karr, J. S. Marron et al. · IEEE Transactions on Software Engineering · 2000 · 751 citations