Research Article

Software Defect Prediction via Attention-Based Recurrent Neural Network

Figure 1

The overall framework of our proposed DP-ARNN. (a) Parsing source code. (b) Mapping string vectors into integer vectors. (c) Generating features via RNN with attention mechanism. (d) Performing defect prediction.