Chaoshuai-Li / DepView

View code dependencies in a Java project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DepView

Analyze calling dependencies in Java projects, and visualize them in a dependency graph.

You can use it to:

  • Get to know the structure of new projects, especially those with little documentation
  • Adjust package structure according to connections between classes

Related article: Depview: Java 程序调用依赖关系的分析与显示

Dependency graph

Quickstart

Write a configuration file for the project that you want to analyze. Follow the examples in conf-example/ directory.

Build and run DepView:

bin/depview.py <CONF_FILE>

Now the dependencies is in directory output/<PROJECT_NAME>/. You can view the dependency graph by running:

bin/serve output/<PROJECT_NAME>

Open localhost:8000 to view the dependency graph.

About

View code dependencies in a Java project


Languages

Language:Java 92.7%Language:JavaScript 5.0%Language:Python 1.3%Language:HTML 0.8%Language:Shell 0.2%