Tool for program statistics

前端 未结 4 481
眼角桃花
眼角桃花 2021-01-18 23:47

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,

相关标签:
4条回答
  • 2021-01-19 00:03

    Understand for Fortran/C/C++

    alt text

    0 讨论(0)
  • 2021-01-19 00:14

    SourceMonitor is free and easy to use software for reporting code metrics.

    0 讨论(0)
  • 2021-01-19 00:16

    The magic Google term is "code metrics". Wikipedia has a list.

    0 讨论(0)
  • 2021-01-19 00:21

    There is a tool called nDepend that gives that kind of analysis.

    http://ndepend.com/

    It is mainly for .net languages, but they do have a version for c++ and Java.

    0 讨论(0)
提交回复
热议问题