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:
See the project README.md for more details.