Skip to content

shawnxie94/java-call-graph-diff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JavaCallGraph

Java implementation of CallGraph.

CG的Java实现方式。采用源码和字节码静态分析方式,提供静态调用关系图和分支变更影响分析能力。

实现思路

img.png

工程结构

TBD

测试方式

测试入口:com.analysis.cg.core.StaticAnalysisServiceTest

  • 生成静态CG
    核心方法:com.analysis.cg.core.source.StaticAnalysisService.methodCallGraph

callGraph

  • 变更影响CG(依赖静态CG)
    核心方法:com.analysis.cg.core.source.StaticAnalysisService.codeChangeMethods img.png

Connect with Me

License

This code is distributed under the MIT license. See LICENSE in this directory.

About

Java implementation of CallGraph

Topics

Resources

License

Stars

Watchers

Forks

Languages