详细信息

Deep Semantic Feature Learning with Embedded Static Metrics for Software Defect Prediction  ( EI收录)  

文献类型:期刊文献

英文题名:Deep Semantic Feature Learning with Embedded Static Metrics for Software Defect Prediction

作者:Fan, Guisheng[1]; Diao, Xuyang[1]; Yu, Huiqun[1]; Yang, Kang[1]; Chen, Liqiong[2]

机构:[1] Department of Computer Science and Engineering, East China University of Science and Technology, Shanghai, China; [2] Department of Computer Science and Information Engineering, Shanghai Institute of Technology, Shanghai, China

年份:2019

卷号:2019-December

起止页码:244

外文期刊名:Proceedings - Asia-Pacific Software Engineering Conference, APSEC

收录:EI(收录号:20200408087622)

语种:英文

外文关键词:Program debugging - Defects - Syntactics - Trees (mathematics) - Software testing - Open source software - Recurrent neural networks - Forecasting

摘要:Software defect prediction, which locates defective code snippets, can assist developers in finding potential bugs and assigning their testing efforts. Traditional defect prediction features are static code metrics, which only contain statistic information of programs and fail to capture semantics in programs, leading to the degradation of defect prediction performance. To take full advantage of the semantics and static metrics of programs, we propose a framework called Defect Prediction via Attention Mechanism (DP-AM) in this paper. Specifically, DPAM first extracts vectors which are then encoded as digital vectors by mapping and word embedding from abstract syntax trees (ASTs) of programs. Then it feeds these numerical vectors into Recurrent Neural Network to automatically learn semantic features of programs. After that, it applies self-attention mechanism to further build relationship among these features. Furthermore, it employs global attention mechanism to generate significant features among them. Finally, we combine these semantic features with traditional static metrics for accurate software defect prediction. We evaluate our method in terms of F1-measure on seven open-source Java projects in Apache. Our experimental results show that DP-AM improves F1-measure by 11% in average, compared with the state-of-the-art methods. ? 2019 IEEE.

参考文献:

正在载入数据...

版权所有©华东理工大学 重庆维普资讯有限公司 渝B2-20050021-7 
渝公网安备 50019002500408号 违法和不良信息举报中心