What’s pulling us apart?
See the dependencies that cross your intended boundaries. Red arrows show where inner layers reach out into the details they should be independent of.
C# symbols and references, checked against your architecture rules.
See how your code fits together. Find what needs attention. Bring your own agent to make it better.
For C# & .NET · Open source · Runs locally
A codebase grows one change at a time. Understanding it shouldn’t mean holding every change in your head.
Milligram turns your C# source into a living map. Namespaces become places. Dependencies become paths. The parts that need your attention become impossible to miss.
One tangled dependency. One better design. Watch the whole change unfold.
Same codebase. A clearer way forward.Fictional project and results. Sequence condensed.
The right next change starts with the right question. Milligram puts three of them on the same map.
See the dependencies that cross your intended boundaries. Red arrows show where inner layers reach out into the details they should be independent of.
C# symbols and references, checked against your architecture rules.
Complex code gets riskier when tests don’t cover it. CRAP brings complexity and coverage together so the places that deserve care stand out.
Cyclomatic complexity meets real test coverage.
Coverage tells you what ran. Mutation testing changes the code and asks if your tests noticed. Surviving mutants reveal the gaps a green test suite can hide.
Small code mutations put the strength of your tests to the test.
You already have an agent. Give it the big picture.
Milligram is the shared map: a place to point at a problem, explore a design together, and see what changed.
Bring a C# project and a little curiosity.
Start with the map.
Follow what you find.
milligram