Semantic similar code online detection method based on deep learning
A technology of semantic similarity and deep learning, which is applied in the field of software defect prediction in software engineering, can solve problems such as semantically similar codes cannot be detected, and achieve the effect of simple and easy operation
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0018] The method of the present invention will be described in further detail below in conjunction with the accompanying drawings.
[0019] The present invention uses static code analysis and natural language processing technology to mine natural language and program semantic information hidden in program text identifiers, then trains a neural network model based on deep learning technology to perform semantic similarity mapping, and performs semantic similarity according to network output results predict.
[0020] like figure 1 Described, a kind of semantically similar code online detection method based on deep learning technology, comprises the following steps:
[0021] Step 1: Use static code analysis technology to extract function information from the sample library.
[0022] First, the source code in the sample library is analyzed by static analysis technology, and the structure information and text identifier information of each function are extracted. Then, store th...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com