Analyzing Elixir Source Code - what tools exist for analyzing code metrics, etc

What tools do exist for analyzing code metrics? Which/How-many modules depend on this module? Which/How-much code does this piece of code depends on? And that sort of questions.

https://hexdocs.pm/mix/Mix.Tasks.Xref.html#content might be (part of) what you’re looking for, especially with the graph option

2 Likes

Thanks! mix xref is great! It should be used/introduced more often!

There is credo (https://github.com/rrrene/credo) which is close to Rubocop I think.

I have been playing a bit with analyzing Elixir code but still just learning to do it.

1 Like