是否有任何工具可视化代码复杂性或图形化方法调用在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+⬑ * 默认成员函数 原来C++类中,有6个默认成员函数: 构造函数 析构函数 拷贝...
#pragma once // 1. 设计一个不能被拷贝的类/* 解析:拷贝只会放生在两个场景中:拷贝构造函数以及赋值运...
C类型转换 C语言:显式和隐式类型转换 隐式类型转化:编译器在编译阶段自动进行,能转就转,不能转就编译...
//异常的概念/*抛出异常后必须要捕获,否则终止程序(到最外层后会交给main管理,main的行为就是终止) try...
#pragma once /*Smart pointer 智能指针;灵巧指针 智能指针三大件//1.RAII//2.像指针一样使用//3.拷贝问...
目录<future>future模板类成员函数:promise类promise的使用例程:packaged_task模板类例程...