A Software Code Defect Detection Method Based on the Fusion of Transformer and Graph Neural Networks
Software defect detection plays a key role in improving system reliability, security, and maintainability. This study proposes a hybrid Transformer–GNN framework to jointly model code semantics and program structure. Source files are normalized, segmented at the function level, and converted into token sequences, while...