我希望显示代码库的可视化,可以显示过于复杂和交织在一起的区域.
我知道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.
这些是我知道的唯一的两个工具,希望这有帮助.
(编辑:李大同)
【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!
|