C language-oriented source code clone detection method
A detection method and source code technology, applied in the field of C language-oriented source code clone detection, can solve problems such as high false positive rate, low recall rate, and difficulty in detecting Type-3 code clones.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0056] In order to make the purpose, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the implementation methods and accompanying drawings.
[0057] The present invention is based on the C program source code clone detection method based on similarity. This method judges whether two code fragments constitute clone code by calculating the similarity between the codes to be tested, and solves the three types of Type1, Type2 and Type3 better. The detection problem of code cloning. This is a function that other existing code clone detection tools do not have.
[0058] The source code cloning detection method facing C language of the present invention, concrete realization steps are as follows:
[0059] Step S1: Set the syntax rule definition file and the C function extraction file to realize the parsing of the source program and the C function extraction processing.
[0060] In...
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