Software code fragment history tracing method
A technology of code fragments and software codes, applied in the field of computer software, can solve problems such as the difficulty of conveniently tracing and checking the modification history of fine-grained code fragments
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0029] In order to make the above-mentioned features and advantages of the present invention more obvious and understandable, the following special embodiments are described in detail in conjunction with the accompanying drawings as follows:
[0030] Randomly select a code snippet from an open source software Apache Lucene project. Many times, developers will select these code fragments in units of an API / method. For multi-line or single-line code fragments, the present invention mainly traces back by analyzing the method type nodes in the AST tree, and the number of Commits to be checked is not more than the number of Commits related to the method to which it belongs. A code fragment randomly selected by the present invention is shown below: the setReader method in the Tokenizer class under the Lucene project, with 9 lines in total.
[0031]
[0032] Through the method and tool of the present invention, the user can see that this code has undergone 6 revisions in total. ...
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