A distributed code clone detection and search method, system and medium based on sub-block filtering
A search method and distributed technology, applied in the field of distributed code clone detection and search, can solve the problems of low detection level, inability to handle similar code retrieval and recommendation, etc., and achieve the effect of improving efficiency, overcoming detection efficiency, and improving detection efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0052] In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments.
[0053] like figure 1 As shown, the distributed code clone detection and search method based on sub-block filtering in this embodiment includes:
[0054] 1) The user code and the source code of the code base are grouped and preprocessed in parallel, divided into code blocks to convert symbols (Token), and the frequency of the Token is counted to obtain an intermediate file containing the Token and its frequency information;
[0055] 2) Establish a global Token frequency table according to the parallel statistical summary of Token and its frequency information in all intermediate files;
[0056] 3) The code blocks of the source code of the code base are grouped and processed in parallel using the global Token frequency table, and an index is esta...
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