A Method of Duplicate Code Detection Based on Neural Network Language Model
A language model and code detection technology, which is applied in biological neural network models, error detection/correction, software testing/debugging, etc., can solve problems such as economic loss of code creators, failure to detect duplicate codes, etc., to protect intellectual property rights, The effect of avoiding the curse of dimensionality and preventing economic loss
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0052] Select 260 apps from different Android application markets, each of which is manually analyzed, and the collection of 100 clone codes is also manually determined;
[0053] Use step 1 to convert the code into the corresponding CFG graph;
[0054] For all CFG graphs, use step 2 to obtain the root subgraph of each node;
[0055] Using step 3, the vector representation of each root subgraph is learned;
[0056] Using step 4, the similarity between all CFG graphs is obtained;
[0057] Use step 5 to cluster all the CFG graphs, and the codes corresponding to the CFG graphs in the same cluster are repeated codes. The clustering results are measured by the ARI index, and its value is 0.88.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com

