Data Mining Static Code Attributes to Learn Defect Predictors
Tim Menzies, Jeremy Greenwald, Art Frank · IEEE Transactions on Software Engineering · 2006
The value of using static code attributes to learn defect predictors has been widely debated. Prior work has explored issues like the merits of "McCabes versus Halstead versus lines of code counts" for generating defect predictors. We show here that such debates are irrelevant since how the attributes are used to build predictors is much more important than which particular attributes are used. Also, contrary to prior pessimism, we show that such defect predictors are demonstrably useful and, on the data studied here, yield predictors with a mean probability of detection of 71 percent and mean false alarms rates of 25 percent. These predictors would be useful for prioritizing a resource-bound exploration of code that has yet to be inspected
Cited by 1,215 works. doi:10.1109/tse.2007.256941
Authors
References
- Genetic algorithms in search, optimization, and machine learning
- Learning representations by back-propagating errors
- C4.5: Programs for Machine Learning
- UCI Repository of machine learning databases
- A Complexity Measure
- Very Simple Classification Rules Perform Well on Most Commonly Used Datasets
- Elements of software science
- Design and code inspections to reduce errors in program development
- A Practical Approach to Feature Selection
- Supervised and Unsupervised Discretization of Continuous Features