Generate dependency graph for Hybris

I’m currently working as a developer on a large Hybris e-commerce solution. The codebase has been delivered to us with a large number of extensions and I was having a hard time visualizing how all the extensions were interconnected. I put together this simple script one evening, and made some quick tweaks at work to get it to work with our codebase. After generating the graph, we could immediately see where we were having dependency issues and were able to make adjustments.

Anyway, as the Hybris community is such a closed community I thought I’d share this utility. Perhaps it will also be useful for some of you Hybris developers out there!

The script:

Sample dependency graph output: extensions