Implicit dependency mode analysis method based on CPG + graph
Patent Information
- Authority / Receiving Office
- CN · China
- Current Assignee / Owner
- XI AN JIAOTONG UNIV
- Publication Date
- 2022-08-09
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
Description
technical field
[0001] The invention belongs to the field of program analysis, in particular to an implicit dependency pattern analysis method based on CPG+graph. Background technique
[0002] Dependency between software entities is the cornerstone of most software architecture analysis and architecture analysis tools, including architecture restoration, architecture problem or anti-pattern detection, defect prediction, and change impact analysis. However, because of its own characteristics, many languages cannot show their syntax dependencies in the source code, such as dynamic languages Python, JavaScript, and Ruby. Due to the lack of explicit type references, some dependencies are not visible during static syntax analysis of the source code. is invisible, as opposed to display dependencies that can be directly identified. Such invisible syntactic dependencies due to dynamic typing are called implicit dependencies.
[0003] Existing architecture analysis tools usuall...