I have gotten the opportunity to work with Lattix in the past. I believe the paradigm it represents (a hierarchical dependency matrix) is the future of large-scale system a
You could try the open source tooling at https://dsmsuite.github.io/. I developed the DSM tooling because I like the DSM approach, but hardly any open source tooling was available. It supports C/C++ (based on file includes) Java and .net (both based on import binaries)
There are some open source tools that implement the core functionality of Lattix, DSM (Design or Dependency Structure Matrix) listed here:
http://en.wikipedia.org/wiki/Dependency_Structure_Matrix
The recent release of dtangler 2.0 has an something in its release notes you might find interesting:
dtangler 2.0.0. is released! The major new feature is the ability to read dependency information from a plaintext file. In other words: it's not just for java - now you can generate a dependency structure matrix that describes whatever you want!
It is not a free tool (299 euros for a personnal license) but the tool NDepend comes with a Dependency Graph coupled with a Dependency Matrix. Disclaimer: I am one of the developers of the tool
Here are some screenshots:
SonarQube has a free dependency analyzer (in my experience, less useful than Lattix). You can add the Package Design
widget to the dashboard and drill down. Instructions can be found here.
If you or the companies you work for happen to use (the non free) IntelliJ IDEA Ultimate and Java, you can use its Dependency Structure Matrix.
For a simple project, I found MaDGe - Module Dependency Graph.
Install with npm
npm -g install madge
List dependencies of all *.js files in directory src
madge path/src
Find circular dependencies of a particular file app.js
madge --circular path/src/app.js
There's also a graphing functionality, but I don't have that up and running yet.