首页 | 本学科首页   官方微博 | 高级检索  
     


Practical considerations in deploying statistical methods for defect prediction: A case study within the Turkish telecommunications industry
Authors:Ayşe Tosun  Ayşe Bener  Burak Turhan  Tim Menzies
Affiliation:1. College of Computer Science and Technology, Zhejiang University, Hangzhou, China;2. School of Information Systems, Singapore Management University, Singapore;1. School of Computer Science and Technology, Nantong University, Nantong, China;2. Guangxi Key Laboratory of Trusted Software, Guilin University of Electronic Technology, Guilin, China;3. State Key Laboratory for Novel Software Technology, Nanjing University, Nanjing, China;1. School of Computer Science, Wuhan University, Wuhan, China;2. Department of Computing, The Hong Kong Polytechnic University, Hong Kong;3. Department of Computer Science, Western Michigan University, Michigan, USA;4. School of Electronic Information and Communications, Huazhong University of Science and Technology, Wuhan, China;5. College of Computer Science and Technology, Harbin Engineering University, China;6. Key Laboratory of Network Assessment Technology, Institute of Information Engineering, Chinese Academy of Sciences, Beijing, China.;1. M3S, Faculty of Information Technology and Electrical Engineering, University of Oulu, Oulu 90014, Finland;2. Department of Computer Science, Brunel University London, UB8 3PH, United Kingdom
Abstract:ContextBuilding defect prediction models in large organizations has many challenges due to limited resources and tight schedules in the software development lifecycle. It is not easy to collect data, utilize any type of algorithm and build a permanent model at once. We have conducted a study in a large telecommunications company in Turkey to employ a software measurement program and to predict pre-release defects. Based on our prior publication, we have shared our experience in terms of the project steps (i.e. challenges and opportunities). We have further introduced new techniques that improve our earlier results.ObjectiveIn our previous work, we have built similar predictors using data representative for US software development. Our task here was to check if those predictors were specific solely to US organizations or to a broader class of software.MethodWe have presented our approach and results in the form of an experience report. Specifically, we have made use of different techniques for improving the information content of the software data and the performance of a Naïve Bayes classifier in the prediction model that is locally tuned for the company. We have increased the information content of the software data by using module dependency data and improved the performance by adjusting the hyper-parameter (decision threshold) of the Naïve Bayes classifier. We have reported and discussed our results in terms of defect detection rates and false alarms. We also carried out a cost–benefit analysis to show that our approach can be efficiently put into practice.ResultsOur general result is that general defect predictors, which exist across a wide range of software (in both US and Turkish organizations), are present. Our specific results indicate that concerning the organization subject to this study, the use of version history information along with code metrics decreased false alarms by 22%, the use of dependencies between modules further reduced false alarms by 8%, and the decision threshold optimization for the Naïve Bayes classifier using code metrics and version history information further improved false alarms by 30% in comparison to a prediction using only code metrics and a default decision threshold.ConclusionImplementing statistical techniques and machine learning on a real life scenario is a difficult yet possible task. Using simple statistical and algorithmic techniques produces an average detection rate of 88%. Although using dependency data improves our results, it is difficult to collect and analyze such data in general. Therefore, we would recommend optimizing the hyper-parameter of the proposed technique, Naïve Bayes, to calibrate the defect prediction model rather than employing more complex classifiers. We also recommend that researchers who explore statistical and algorithmic methods for defect prediction should spend less time on their algorithms and more time on studying the pragmatic considerations of large organizations.
Keywords:
本文献已被 ScienceDirect 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号