程序统计工具 [英] Tool for program statistics

查看:40
本文介绍了程序统计工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有工具可以解析我的源代码(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.

这篇关于程序统计工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆