On-line Programming Code Defect Detection and Analysis Based on C Lan-guage
In order to improve the detection efficiency and accuracy of programming defects in C language,the research process is based on deep learning technology,and an online detection algo-rithm model consisting of code data module,code preprocessing module and feature extraction module is constructed.After code cleaning,abstract syntax tree generation,abstract syntax tree splitting,template matching and similarity calculation,the types and specific locations of defec-tive codes are detected.After testing,the detection algorithm can detect most defects in C lan-guage code with high accuracy.
C languageOnline programmingDeep learning technologyCode defectstest method