visualise java class imports using graphviz


I wrote this tool to visualise the imports and dependencies between java classes.

Wikipedia has a great article on cohesion and couple of code:

In this article there’s this image:

The image show good and bad cohesion and coupling. It’s easy to understand these two in this image, but it’s much harder to understand them in code. I wrote the java-graphviz tool to help visualise the cohesion and coupling of our codebases.

The tool can create a graph like this:

java-graphviz -dir parser/fixtures/ -colorMap="parser.fixtures.single.MyClass=red"

See the project for more details.