Is there a tool which is able to parse my source code (fortran, C or C++) and return statistics such as the number of loops, the average loop size, the number of functions,
SourceMonitor is free and easy to use software for reporting code metrics.