是否有任何工具可视化代码复杂性或图形化方法调用在Objective-C?

我希望显示代码库的可视化,可以显示过于复杂和交织在一起的区域.

我知道cl ang是什么,但是我不确定它给了我在这种情况下想要什么.

解决方法

AnalysisTool:我知道这是一个蛤蜊包装,但它也提供依赖图.

AnalysisTool was originally created to serve two main purposes: to provide an easy-to-use executable binary of Clang static analyzer and to customize Clang by providing some additional checks. When Clang static analyzer was in its early stages,the only option for developers to try it out was to check out the latest source code of LLVM and Clang,compile it,and use the analyzer from the command line. AnalysisTool provided an easy-to-use GUI interface and removed the need to touch Clang source code. It also provided automatic updates,so that users of AT Could always use the latest Clang static analyzer.

hfcca:

This tool will calculate the cycolomatic complexity of C/C++/Objective C code without caring about header files and preprocessors. So the tool is actually calculating how complex the code ‘looks’ rather than how complex the code ‘is’.

People will need this tool because it’s often very hard to get all the
include folders and files right with a similar tool,but we don’t
really need that kind of accuracy when come to cyclomatic complexity.

这些是我知道的唯一的两个工具,希望这有帮助.

相关文章

本程序的编译和运行环境如下(如果有运行方面的问题欢迎在评...
水了一学期的院选修,万万没想到期末考试还有比较硬核的编程...
补充一下,先前文章末尾给出的下载链接的完整代码含有部分C&...
思路如标题所说采用模N取余法,难点是这个除法过程如何实现。...
本篇博客有更新!!!更新后效果图如下: 文章末尾的完整代码...
刚开始学习模块化程序设计时,估计大家都被形参和实参搞迷糊...