Skip to content

shawnxie94/java-call-graph-diff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

java-call-graph-diff

Java support License

本项目为GitBook: 《 Code-Visualization 》的实践案例,想了解更多代码可视化的相关知识推荐阅读此书籍。

项目概述

Java implementation of CallGraph.

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

实现思路

img.png

测试方式

测试入口: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