Method for carrying out combined detection on source code file cloning adjacency lists
A detection method and source code technology, applied in the field of source code processing, can solve the problem of not being able to know which code sources are copied by the software in advance, and achieve the effect of mass detection
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0049] The specific implementation manners of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.
[0050] Such as Figures 1 to 3 The source code file clone adjacency list merging detection method, this method is to construct a distributed index and adjacency table merging detection algorithm for the project file fingerprint, and realize the code file clone detection within the time complexity of O(nm). Its implementation can be roughly divided into the following three steps:
[0051] Step 1, data preprocessing.
[0052] Before the source code files are converted into index data, they need to go through several stages of processing, mainly filtering the corresponding code files, extracting tokens, etc.
[0053] First, it is necessary to traverse the directory where 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