Static source code metrics and static analysis warnings for fine-grained just-in-time defect prediction

2020 | conference paper. A publication with affiliation to the University of Göttingen.

Jump to: Cite & Linked | Documents & Media | Details | Version history

Cite this publication

​Trautsch, Alexander Richard, Steffen Herbold, and Jens Grabowski. "Static source code metrics and static analysis warnings for fine-grained just-in-time defect prediction​." ​2020 IEEE International Conference on Software Maintenance and Evolution (ICSME), ​IEEE, ​2020, pp. 127​-138​. ​doi: 10.1109/icsme46990.2020.00022. 

Documents & Media

License

GRO License GRO License

Details

Authors
Trautsch, Alexander Richard ; Herbold, Steffen ; Grabowski, Jens 
Abstract
Software quality evolution and predictive models to support decisions about resource distribution in software quality assurance tasks are an important part of software engineering research. Recently, a fine-grained just-in-time defect prediction approach was proposed which has the ability to find bug-inducing files within changes instead of only complete changes. In this work, we utilize this approach and improve it in multiple places: data collection, labeling and features. We include manually validated issue types, an improved SZZ algorithm which discards comments, whitespaces and refactorings. Additionally, we include static source code metrics as well as static analysis warnings and warning density derived metrics as features. To assess whether we can save cost we incorporate a specialized defect prediction cost model. To evaluate our proposed improvements of the fine-grained just-in-time defect prediction approach we conduct a case study that encompasses 38 Java projects, 492,241 file changes in 73,598 commits and spans 15 years. We find that static source code metrics and static analysis warnings are correlated with bugs and that they can improve the quality and cost saving potential of just-in-time defect prediction models.
Issue Date
2020
Status
accepted
Publisher
IEEE
Organization
Institut für Informatik 
Conference
International Conference on Software Maintenance and Evolution
ISBN
978-1-7281-5619-4
Conference Place
Adelaide
Event start
2020-09-27
Event end
2020-10-03
Language
English

Reference

Citations


Social Media