Distributed code clone detection and search method based on sub-block filtering, and system and medium
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., achieve the goal of improving efficiency, overcoming insufficient detection efficiency, and improving detection efficiency Effect
- 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 object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with 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) Group the user code and the source code of the code library for preprocessing in parallel, divide them into code blocks, convert symbols (Tokens) and count the frequency of Tokens, and obtain an intermediate file containing Tokens and their 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) Use the global Token frequency table to group and process the code blocks of the source code of the code library in parallel, and establish an index to obtain t...
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