CSTLineDP: A Fine-grained Software Defect Prediction Framework Based on CST and Bi-GRU

Software defect detection based on deep learning technology is an important research field. However, there are still obvious limitations in the existing research: (1) most of the current research is coarse-grained, and code defects can only be located at the coarse-grained level, such as function level and file level; (2) existing methods rely more on the code text, ignoring the use of code structure information, resulting in low predict accuracy. (3) the risk score of each code token cannot be obtained, resulting in insufficient interpretability of the prediction results. Aiming at the shortcomings of previous studies, we propose CSTLineDP, which combines the hierarchical structure information of the code (based on the concrete syntax tree) with the text information to achieve fine-grained and interpretable code defect prediction. Experimental results on the public Java and C/C++ datasets indicate that, compared with other baseline methods, our method improves the three evaluation indicators by 8.8% ~ 32.2%, 1.5% ~ 16.0% and 13 ~ 27, respectively.

Authors

Institutions

Publication Details

Published
2024-12-27
DOI
https://doi.org/10.1109/eiecc64539.2024.10929201
Primary Topic
Software Engineering Research
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

CSTLineDP: A Fine-grained Software Defect Prediction Framework Based on CST and Bi-GRU

Xiang Li, Cheng Zhang
Software Engineering Research
article

CSTLineDP: A Fine-grained Software Defect Prediction Framework Based on CST and Bi-GRU

Xiang Li, Cheng Zhang
article en

Abstract

Software defect detection based on deep learning technology is an important research field. However, there are still obvious limitations in the existing research: (1) most of the current research is coarse-grained, and code defects can only be located at the coarse-grained level, such as function level and file level; (2) existing methods rely more on the code text, ignoring the use of code structure information, resulting in low predict accuracy. (3) the risk score of each code token cannot be obtained, resulting in insufficient interpretability of the prediction results. Aiming at the shortcomings of previous studies, we propose CSTLineDP, which combines the hierarchical structure information of the code (based on the concrete syntax tree) with the text information to achieve fine-grained and interpretable code defect prediction. Experimental results on the public Java and C/C++ datasets indicate that, compared with other baseline methods, our method improves the three evaluation indicators by 8.8% ~ 32.2%, 1.5% ~ 16.0% and 13 ~ 27, respectively.

Anhui University (CN)
Climate action
Openalex Percentile: Top 54%
Software Engineering Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

CSTLineDP: A Fine-grained Software Defect Prediction Framework Based on CST and Bi-GRU — Xiang Li, Cheng Zhang · (2024) | TGRS Research Map | TGRS