A suffix tree-based code file cloning detection method
A code file and detection method technology, which is applied in the field of code file clone detection based on suffix tree, can solve the problem of not being able to know which code sources are copied by the software in advance, and achieve high efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0043]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.
[0044] like figure 1 , figure 2 The code file clone detection method based on the suffix tree, which is to construct a suffix tree for the project file fingerprint, and realize the code file clone detection in linear time, adopt the following steps:
[0045] Step 1: Construct the fingerprint database of open source projects.
[0046] Code fingerprints are constructed at the granularity of code files. The number of fingerprints is controllable and the storage space occupied is limited, so they can be directly stored on the main server. The background for realizing the present invention mainly completes two functions, that is, establishing a fingerprint library and detect...
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