Python code change reminding method on basis of abstract syntax tree node change extraction
An abstract syntax tree and node technology, applied in the field of computer and software evolution analysis, can solve the problems of lack of software evolution analysis, unable to prompt the type of code change, etc., to achieve the effect of improving controllability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0051] The inventive method first collects the source codes of two different version programs of the same Python software through software version control systems such as CVS; then carries out lexical analysis and syntax analysis to the two version source programs to generate corresponding abstract syntax trees; then matches the two An abstract syntax tree, looking for the changed node and obtaining its context information, combined with the basic tree editing operation performed on the changed node, marking the change type of the node, and using the tuple δ=(node identifier, change type) to record the node’s change status; finally, the sequence of change tuples generated by a commit is aggregated into transactions, training sets a and b are constructed, and the FP-growth algorithm is used to mine the frequent itemsets in the change tuples and generate corresponding association rules to identify Associated code blocks and associated change types in a program to assist develop...
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