File tree Expand file tree Collapse file tree 1 file changed +23
-11
lines changed Expand file tree Collapse file tree 1 file changed +23
-11
lines changed Original file line number Diff line number Diff line change 1
- # Introduction
2
- Java implementation of CallGraph.
3
- CG的Java实现,采用源码和字节码方式。提供静态调用关系图和分支变更影响分析。
1
+ # JavaCallGraph
2
+ > Java implementation of CallGraph.
4
3
5
- # 实现思路
4
+ CG的Java实现方式。采用源码和字节码静态分析方式,提供静态调用关系图和分支变更影响分析能力。
5
+
6
+ ## 实现思路
6
7
![ img.png] ( picture/impl.png )
7
8
8
- # 测试方式
9
- 项目测试入口:com.analysis.cg.core.StaticAnalysisServiceTest
10
- - CG
11
- 核心方法:com.analysis.cg.core.source.StaticAnalysisService.methodCallGraph
12
- ![ img.png] ( picture/cg.png )
13
- - 变更影响CG(生产依赖静态CG)
14
- 核心方法:com.analysis.cg.core.source.StaticAnalysisService.codeChangeMethods
9
+ ## 工程结构
10
+ TBD
11
+
12
+ ## 测试方式
13
+ 测试入口:com.analysis.cg.core.StaticAnalysisServiceTest
14
+ - 生成静态CG
15
+ ** 核心方法** :com.analysis.cg.core.source.StaticAnalysisService.methodCallGraph
16
+ <img src =" picture/cg.png " width =" 500 " height =" 500 " alt =" callGraph " >
17
+ - 变更影响CG(依赖静态CG)
18
+ ** 核心方法** :com.analysis.cg.core.source.StaticAnalysisService.codeChangeMethods
15
19
![ img.png] ( picture/change_cg.png )
16
20
21
+ ## Connect with Me
22
+ - Email: [ xiexiao064@gmail.com ] ( mailto:xiexiao064@gmail.com )
23
+ - WeChat: ShawnLFF
24
+
25
+ License
26
+ ---
27
+
28
+ This code is distributed under the MIT license. See ` LICENSE ` in this directory.
17
29
18
30
19
31
You can’t perform that action at this time.
0 commit comments