Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Hierarchical architecture identification method based on code vocabularies and structural dependence

A technology of layered architecture and identification methods, applied in code compilation, program code conversion, instrumentation, etc., can solve problems such as gaps in recovery results and neglect

Active Publication Date: 2019-07-09
SOUTHEAST UNIV
View PDF5 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The current research on the directional architecture recovery of layered patterns is mainly based on the structural dependencies between program entities, that is, layered pattern recognition is performed directly on the program dependency graph, which ignores the fact that layered patterns are mainly used for separation of concerns in the system characteristics, resulting in a large gap between the restoration result and the actual level of the target system

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Hierarchical architecture identification method based on code vocabularies and structural dependence
  • Hierarchical architecture identification method based on code vocabularies and structural dependence
  • Hierarchical architecture identification method based on code vocabularies and structural dependence

Examples

Experimental program
Comparison scheme
Effect test

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 in conjunction with the accompanying drawings and specific implementation methods.

[0058] Step 1) Obtain the keyword set W corresponding to the 6 packages in spring-petclinic and the dependency relationship set E between program entities by statically analyzing the program source code. 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) Traversing the AST tree nodes, extracting the vocabulary of the corresponding position in the source code file and the dependency relationship between classes from the nodes;

[0061] (13) Utilize regular expressions to extract the words contained in the comments that the AST tree cannot obtain; ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a hierarchical architecture identification method based on code vocabularies and structural dependence, which comprises the following steps: extracting key vocabularies in a source code to perform responsibility clustering, and performing software system hierarchical identification by utilizing dependence among program entities; the characteristics of the hierarchical mode and the application scene are combined, the recognition precision is higher, and a recognition result can help a designer understand the existing state of the system more easily.

Description

technical field [0001] The invention is a layered architecture identification method based on code vocabulary and structure dependence, and is mainly used for reversely performing system layered structure recovery in the case of architecture offset and missing documents. Background technique [0002] The software system will become more and more complex as it evolves, but the system architecture information is not updated and documented in time, which causes the architecture of the existing software system to deviate from the original architecture over time. The lack of architectural information and architectural deviation will become more and more serious as the system evolves. If the software architecture or structural complexity cannot be effectively controlled, it will eventually lead to the end of the software system life cycle and cannot continue to evolve. In order to solve this kind of problem, the industry often adopts the method of architecture recovery to obtain t...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/41
CPCG06F8/433
Inventor 李必信杜鹏程王璐璐孔祥龙廖力周颖
Owner SOUTHEAST UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products