Tool to visualize packages and their dependencies between each other. This project is inspired by socomo.
Good software architecture starts with matching functional requirements to code structure. Visualizing and showing the dependencies of packages in your project is the first step to regain control of your project.
Supported and auto-detected projectlanguages:
- C++
- Delphi
- Java
- JavaScript
- Kotlin
- TypeScript
- Python
Make sure to have Bun & Node installed, check package.json for allowed versions
The bunx script will create a audit.json in your project root:
# Run from the project root you want to analyze
bunx pkgviz
To show the graph visualization in the browser:
# 1. Install dependencies
bun install
# 2. Create your .env file
cp .env.tpl .env
# 3. Supply the project path to analyze in the .env file
# 4. Run the app
bun devFind the official documentation at Github Pages here:
artiphishle.github.io/forensics-docs
Run bunx pkgviz from any project root (Java & TypeScript, more to follow) and a audit.json will be generated for you.
# Run tests
bun run test
# Print Coverage to stdout
bun run test:cov
# Generate HTML Coverage to 'test/coverage/index.html'
bun test:cov:htmlThe list of open source tools to visualize code structure is rather short. Structure101 is now part of Sonar. Don't let paid tools dominate software craft. Join us and contribute to open-source!