3 ms·
All Elixir projects I've seen, when you run "mix xref" you will see spaghetti.
by 29athrowaway 3y ago
All Elixir projects I've seen, when you run "mix xref" you will see spaghetti.
- josevalim 3y agoYou are not wrong but you may be hinting at the wrong cause. It is hard to generate a useful graph or summary that gives actionable feedback once you reach a certain amount of nodes. Even mix app.tree, which has no cycles, is barely useful after 30-50 deps because it becomes dense. Using mix xref to evaluate your project will, at best, give you a very blurry picture. Think of it more of a database: it will give you good information when you need to answer certain queries.