Software evolution-oriented code replaceability assessment method
A software and code-oriented technology, applied in code refactoring, software maintenance/management, software testing/debugging, etc., can solve the problems of not being able to provide replaceable change information, no code replaceability, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0026] The present invention will be further described below in conjunction with embodiment and accompanying drawing.
[0027] In the embodiment, there are version Ver1 and its evolution version Ver2 in the project Proj. There are seven packages in Ver1, namely p1.1-p1.7, and the corresponding packages in Ver2 are p2.1-p2.7. Use the tool JcouplingEvaluator for evaluation, and its overall workflow is as follows figure 2 shown. Include the following steps:
[0028] Step 1, according to the source code, each class in the software version is constructed as an abstract syntax tree; the source code of the version Ver1 in the embodiment is constructed into a corresponding abstract syntax tree, and its abstract syntax tree is as follows image 3 shown;
[0029] As an intermediate representation of programs, Abstract Syntax Tree (AST) is widely used in many fields such as code analysis and program analysis. It maps java source code into a tree form: each java source file is repres...
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