Deprank: Use PageRank to find the most important files in your codebase
> We define importance as those files which are directly or indirectly depended upon the most by other files in the codebase.<p>I honestly would have expected the opposite definition. Maybe I’m kind of old school, but in a well-architected large c-program for instance, “main.c” tends to depend (directly or indirectly) on every other compile unit, while there are no dependencies in the other direction. And I think “main.c” should be seen as “important”.<p>Why would this not be true for JavaScript or typescript?