approximate code cloning detection method adopting GPU acceleration
A code and detection efficiency technology, applied in the field of approximate code clone detection, can solve problems such as taking 4.5 days, maintaining a high level, detection accuracy and performance difficulties
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0030] Through the following description of the embodiments of the present invention combined with the accompanying drawings, the purpose, specific operation methods and advantages of the present invention can be further understood.
[0031] figure 2 An example of the procedure for detecting type III close clones in the three methods m1, m2, m3. The present invention labels all the source codes (including methods m1, m2, m3) to form a label string ① established in order by all the labels in the code, wherein the methods m1, m2, m3 are represented as three strips. Subsequently, the present invention constructs the label string into a suffix array ② by adopting GPU parallel acceleration according to character strings. Wherein, each element n represents a suffix string, and the suffix string starts from the nth tag of the tag string to the end of the tag string of the entire code. If the suffix strings represented by two adjacent elements have the same prefix (that is, several...
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