This is a question I originally posted on Stackoverflow, and got the recommendation to put it here instead:
In the past I have used ohcount to count the number of lines in our Fortran projects, and that works reasonably fine.
Recently, I stumbled upon Your Code as a Crime Scene by Adam Tornhill and think it is interesting. Code metrics are an essential part of the approach described in the book. It introduces code-maat by the author to analyse code revision history, but also points to the CodeCity tool to map the source code itself. Unfortunately, this kind of mapping is language specific, and CodeCity seems to be relying models produced by InFusion, which in turn is only applicable to C/C++ and Java, as far as I can see (and appears to be discontinued and not for sale anymore).
Is anybody aware of something like CodeCity or InFusion for a Fortran code base? Maybe these tools are just outdated? If there is nothing like that, what kind of recommendable code-metric analysis tools exist at all for Fortran?
I did some searching on the internet and did not find anything, but maybe I am just looking in all the wrong places.