Lessons learned from using a deep tree-based model for software defect prediction in practice
Version 2 2024-06-06, 09:07Version 2 2024-06-06, 09:07
Version 1 2019-09-30, 08:17Version 1 2019-09-30, 08:17
conference contribution
posted on 2024-06-06, 09:07 authored by HK Dam, T Pham, SW Ng, Truyen TranTruyen Tran, J Grundy, A Ghose, T Kim, CJ Kim© 2019 IEEE. 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.
History
Pagination
46-57Location
Montreal, QuebecPublisher DOI
Start date
2019-05-25End date
2019-05-31ISSN
2160-1852eISSN
2160-1860ISBN-13
9781728134123Language
engPublication classification
E1 Full written paper - refereedTitle of proceedings
MSR 2019 : Proceedings of the 16th IEEE/ACM International Conference on Mining Software RepositoriesEvent
Mining Software Repositories. Conference (2019 : 16th : Montreal, Quebec)Publisher
IEEEPlace of publication
Piscataway, N.J.Usage metrics
Categories
No categories selectedLicence
Exports
RefWorksRefWorks
BibTeXBibTeX
Ref. managerRef. manager
EndnoteEndnote
DataCiteDataCite
NLMNLM
DCDC