DocumentCode
852832
Title
Data Mining Static Code Attributes to Learn Defect Predictors
Author
Menzies, Tim ; Greenwald, Jeremy ; Frank, Art
Author_Institution
Lane Dept. of Comput. Sci. & Electr. Eng., West Virginia Univ., Morgantown, WV
Volume
33
Issue
1
fYear
2007
Firstpage
2
Lastpage
13
Abstract
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
Keywords
Art; Artificial intelligence; Bayesian methods; Data mining; Financial management; Learning systems; Software quality; Software systems; Software testing; System testing; Data mining detect prediction; Halstead; McCabe; artifical intelligence; empirical; naive Bayes.;
fLanguage
English
Journal_Title
Software Engineering, IEEE Transactions on
Publisher
ieee
ISSN
0098-5589
Type
jour
DOI
10.1109/TSE.2007.256941
Filename
4027145
Link To Document