Building defect prediction models in practice

Authors Rudolf Ramler
Johannes Himmelbauer
Thomas Natschläger
Editors Imran Ghani
Wan Mohd Nasir Wan Kadir
Mohammad Nazir Ahmad
Title Building defect prediction models in practice
Booktitle Handbook of Research on Emerging Advancements and Technologies in Software Engineering
Type in book
Publisher IGI Global
Chapter 24
ISBN 978-1-4666-6026-7
Month April
Year 2014
Pages 540-565
SCCH ID# 1446

The information about which modules of a future version of a software system will be defect-prone is a valuable planning aid for quality managers and testers. Defect prediction promises to indicate these defect-prone modules. In this chapter, building a defect prediction model from data is characterized as an instance of a data-mining task, and key questions and consequences arising when establishing defect prediction in a large software development project are discussed. Special emphasis is put on discussions on how to choose a learning algorithm, select features from different data sources, deal with noise and data quality issues, as well as model evaluation for evolving systems. These discussions are accompanied by insights and experiences gained by projects on data mining and defect prediction in the context of large software systems conducted by the authors over the last couple of years. One of these projects has been selected to serve as an illustrative use case throughout the chapter.