https://github.com/shawnxie94/java-call-graph-diff
Java implementation of CallGraph
https://github.com/shawnxie94/java-call-graph-diff
callgraph code-visualization graphiz java javaparser static-analysis
Last synced: 21 days ago
JSON representation
Java implementation of CallGraph
- Host: GitHub
- URL: https://github.com/shawnxie94/java-call-graph-diff
- Owner: shawnxie94
- License: mit
- Created: 2024-03-08T06:06:49.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-23T09:36:50.000Z (almost 2 years ago)
- Last Synced: 2025-02-23T15:38:24.677Z (over 1 year ago)
- Topics: callgraph, code-visualization, graphiz, java, javaparser, static-analysis
- Language: Java
- Homepage:
- Size: 2.89 MB
- Stars: 4
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# java-call-graph-diff
[](https://openjdk.java.net/)
[](https://opensource.org/licenses/MIT)
本项目为GitBook: 《 [Code-Visualization](https://xiexiao064.gitbook.io/code-visualization) 》的实践案例,想了解更多代码可视化的相关知识推荐阅读此书籍。
## 项目概述
> Java implementation of CallGraph.
CG的Java实现方式。采用源码静态分析方式,提供静态调用关系图生产和代码变更影响面分析能力。
## 实现思路

## 测试方式
测试入口:com.analysis.cg.core.StaticAnalysisServiceTest
- 生成静态CG
**核心方法**:com.analysis.cg.core.source.StaticAnalysisService.methodCallGraph

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

## Connect with Me
- Email: [xiexiao064@gmail.com](mailto:xiexiao064@gmail.com)
- WeChat: ShawnLFF
- 公众号: 肖恩杂谈

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