Method for automatically generating system object graph based on code analysis
A system object and automatic generation technology, applied in code compilation, program code conversion, creation/generation of source code, etc., can solve problems such as unable to automatically generate uml diagrams, redundant diagram information, etc., to enhance readability and maintainability sexual effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0027] The present invention will be further explained below in conjunction with the drawings and specific embodiments.
[0028] A method for automatically generating system object graphs based on code analysis includes the following steps: Step S1: Obtain class names, method names, and sentence sets through soot analysis; where the class set is C={C 0 ,C 1 ,C 2 ,...C i }Where C i Represents the class name: the collection of methods is M i ={M i0 ,M i1 ,M i2 ,...M ij }Where M ij Means C i The j-th method; the set of statements is U ij ={U ij0 ,U ij1 ,U ij2 …U ijk }Where U ijk Means M ij The kth statement of; the set of objects is OBJ = {obj 0 ,obj 1 ,obj 2 ,...Obj i }Where obj i Represents the i-th object Step S2: Process the object creation statement and generate an object set, process the object declaration statement and generate the attribute-value correspondence set, use the idea of symbolic execution to obtain the method call statement and the calling process and generat...
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