Software defect prediction via LSTM
IET Software · 2020-08 · 14 (4) · 443-450
DOI: 10.1049/iet-sen.2019.0149 ↗Kurz gefasst
Fachartikel in der Zeitschrift IET Software, 2020-08. Verfasst von Jiehan Deng und 2 weiteren Autor:innen. Die Arbeit wurde bisher 76-mal zitiert (Crossref) und nennt 37 Literaturangaben.
Abstract (Originalsprache)
Software quality plays an important role in the software lifecycle. Traditional software defect prediction approaches mainly focused on using hand‐crafted features to detect defects. However, like human languages, programming languages contain rich semantic and structural information, and the cause of defective code is closely related to its context. Failing to catch this significant information, the performance of traditional approaches is far from satisfactory. In this study, the authors leveraged a long short‐term memory (LSTM) network to automatically learn the semantic and contextual features from the source code. Specifically, they first extract the program's Abstract Syntax Trees (ASTs), which is made up of AST nodes, and then evaluate what and how much information they can preserve for several node types. They traverse the AST of each file and fed them into the LSTM network to automatically the semantic and contextual features of the program, which is then used to determine whether the file is defective. Experimental results on several opensource projects showed that the proposed LSTM method is superior to the state‐of‐the‐art methods.
Zitieren
APA
Deng, J., Lu, L., & Qiu, S. (2020). Software defect prediction via LSTM. IET Software, 14(4), 443-450. https://doi.org/10.1049/iet-sen.2019.0149
Vancouver
Deng J, Lu L, Qiu S. Software defect prediction via LSTM. IET Software. 2020;14(4):443-450. doi:10.1049/iet-sen.2019.0149
BibTeX
@article{Deng2020,
author = {Deng, Jiehan and Lu, Lu and Qiu, Shaojian},
title = {Software defect prediction via LSTM},
journal = {IET Software},
year = {2020},
volume = {14},
number = {4},
pages = {443--450},
doi = {10.1049/iet-sen.2019.0149}
}
EUVIMED