Hybrid depth defect prediction method based on code snippet analysis
A technology of code fragments and prediction methods, which is applied in the field of mixed deep defect prediction of open source software, can solve problems such as uneven code quality and potential safety hazards of open source software, and achieve improved data processing capabilities and automatic learning capabilities, improved capabilities, and improved The effect of accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0024] The method of the present invention will be described in further detail below in conjunction with the accompanying drawings and embodiments.
[0025] A hybrid deep defect prediction method for open source software based on code fragment analysis, including a program slicing method based on the key points of the defect library and a defect prediction method based on hybrid deep learning.
[0026] Step 1: Based on the program slicing method of the key points of the defect library, the code characteristics of open source software are proposed. Vectorize the open source software code unit set containing defects, and represent the features into a vector form that the deep learning model can process.
[0027] Step 1.1: Guided by the open source software defect library, define the key points of open source software program slicing in the defect library, so that the slicing tool can accurately locate the code part containing defect features.
[0028] Further, the defect librar...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


