A Hierarchical Architecture Recognition Method Based on Code Vocabulary and Structural Dependency
A layered architecture and recognition method technology, applied in code compilation, program code conversion, instrumentation, etc., can solve problems such as recovery result gaps and neglect, and achieve the effects of low execution cost, high recognition accuracy, and high degree of automation
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0057] Embodiment 1: For the convenience of description, the present invention takes the identification process of the spring-petclinc open source project as an example, and further introduces the present invention with reference to the accompanying drawings and specific implementations.
[0058] Step 1) Obtain the keyword set W corresponding to 6 packages in spring-petclinic and the dependency relationship set E between program entities by statically analyzing the program source code, and the specific process includes:
[0059] (11) Convert the source code of the target system into an AST abstract syntax tree structure through the static code analysis tool JDT;
[0060] (12) Traverse the AST tree nodes, and extract the vocabulary of the corresponding position in the source code file and the dependencies between classes from the nodes;
[0061] (13) Using regular expressions to extract the vocabulary contained in the annotations that cannot be obtained by the AST tree;
[006...
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