Tool for program statistics(程序统计工具)
问题描述
是否有工具可以解析我的源代码(fortran、C 或 C++)并返回统计信息,例如循环次数、平均循环大小、函数数量、函数调用次数、次数, 数组、变量等的大小和类型?
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, the number of function calls, the number, size and type of arrays, variables, etc ?
类似于 this 的东西,它在我的架构上不容易运行
Something similar to this which does not run easily on my architecture
推荐答案
Google 的神奇术语是代码度量".维基百科有一个列表.
The magic Google term is "code metrics". Wikipedia has a list.
这篇关于程序统计工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:程序统计工具


- DoEvents 等效于 C++? 2021-01-01
- 从父 CMakeLists.txt 覆盖 CMake 中的默认选项(...)值 2021-01-01
- 将 hdc 内容复制到位图 2022-09-04
- 哪个更快:if (bool) 或 if(int)? 2022-01-01
- 使用 __stdcall & 调用 DLLVS2013 中的 GetProcAddress() 2021-01-01
- GDB 不显示函数名 2022-01-01
- OpenGL 对象的 RAII 包装器 2021-01-01
- XML Schema 到 C++ 类 2022-01-01
- 如何提取 __VA_ARGS__? 2022-01-01
- 将函数的返回值分配给引用 C++? 2022-01-01