Another title might be: determine strongest candidates for 100% test coverage. I'm looking for a tool that will display the methods/functions that are most depended on by my code base. To be clear, I'm looking for internal dependencies, not external. The idea is to ensure that the most depended-on code written has full test coverage, or at least high priority for testing.
I believe this is related to cyclomatic complexity. I presume a tool that is checking code paths should be able to compute which code shows up in the most paths. But I haven't seen a tool that does this. Java/JVM preferred, but curious for any language.
function abc()
is called in 50 classes wherefunction xyz()
is called in 10 classes? – Kate Paulk♦ Mar 20 '18 at 11:50