A source code recommendation method for code reuse
A recommendation method and code reuse technology, applied in the field of source code recommendation oriented to code reuse, can solve the problems of long sequence information loss, inaccurate code, and little ability to fully obtain code structure information, etc., to achieve high practicability and correctness, The effect of saving development time
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0048] In order to make the technical problems, technical solutions and advantages to be solved by the present invention clearer, the following will describe in detail with reference to the drawings and specific embodiments.
[0049] The present invention provides a source code recommendation method oriented to code reuse, which is mainly used to help company programmers find example codes and related implementations according to software requirements specifications, including the following steps: source code preprocessing and verification; generating function summary; obtaining function Tag words; construct key-value pairs; generate question entries; query matching degree calculation; search result output. The flow chart of the method is as figure 1 shown, including the following steps:
[0050] 1. Source code preprocessing and verification
[0051] Before converting the function source code into an abstract syntax tree (AST), preprocessing the function source code is benef...
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