Abstract
Defects are common in software systems and cause many problems for software users. Different methods have been developed to make early prediction about the most likely defective modules in large codebases. Most focus on designing features (e.g. complexity metrics) that correlate with potentially defective code. Those approaches however do not sufficiently capture the syntax and multiple levels of semantics of source code, a potentially important capability for building accurate prediction models. In this paper, we report on our experience of deploying a new deep learning tree-based defect prediction model in practice. This model is built upon the tree-structured Long Short Term Memory network which directly matches with the Abstract Syntax Tree representation of source code. We discuss a number of lessons learned from developing the model and evaluating it on two datasets, one from open source projects contributed by our industry partner Samsung and the other from the public PROMISE repository.
Original language | English |
---|---|
Title of host publication | Proceedings - 2019 IEEE/ACM 16th International Conference on Mining Software Repositories, MSR 2019 |
Editors | Bram Adams, Sonia Haiduc |
Place of Publication | Piscataway NJ USA |
Publisher | IEEE, Institute of Electrical and Electronics Engineers |
Pages | 46-57 |
Number of pages | 12 |
ISBN (Electronic) | 9781728134123 |
ISBN (Print) | 9781728133706 |
DOIs | |
Publication status | Published - 2019 |
Event | IEEE International Working Conference on Mining Software Repositories 2019 - Montreal, Canada Duration: 26 May 2019 → 27 May 2019 Conference number: 16th https://conf.researchr.org/home/msr-2019 https://ieeexplore.ieee.org/xpl/conhome/8804710/proceeding (Proceedings) |
Conference
Conference | IEEE International Working Conference on Mining Software Repositories 2019 |
---|---|
Abbreviated title | MSR 2019 |
Country/Territory | Canada |
City | Montreal |
Period | 26/05/19 → 27/05/19 |
Internet address |
Keywords
- Deep learning
- Defect prediction