简体   繁体   English

用于分析大C ++框架类图的工具

[英]Tool for Analyze the class diagram of big C++ framework

Can you please tell me which is the best tool that generate the pictorial representation of the C++ source code. 能告诉我哪个是生成C ++源代码图形表示的最佳工具。 I have big C++ framework code and i want to understand that code so i need some tool that generate some graphs, class diagram or some pictorial representation of all class to understand the code. 我有大的C ++框架代码,我想要理解代码,所以我需要一些工具,生成一些图形,类图或所有类的一些图形表示来理解代码。 Can you please tell me tool or any other way to understand the big C++ framework code ? 你能告诉我工具或任何其他方式来理解大C ++框架代码吗?

绝对不是免费的,但在过去的公司中,我使用Enterprise Architect生成了一个非常有用的基于代码库的类图。

Doxygen is free, popular, and easy to use. Doxygen是免费的,流行的,易于使用。 http://www.doxygen.nl/ http://www.doxygen.nl/

Grab the graphviz plugin to generate some fancy graphs. 抓住graphviz插件来生成一些奇特的图形。

You can use Eclipse CDT for this. 您可以使用Eclipse CDT。 It has Type Hierarchy View among other tools to navigate/analyse source code. 它具有类型层次结构视图以及其他用于导航/分析源代码的工具。 It can build type hierarchies for user defined types on the fly on big C++ project. 它可以在大型C ++项目上动态构建用户定义类型的类型层次结构。

If you used GCC, you might consider making a GCC plugin or a GCC MELT extension. 如果您使用GCC,您可以考虑制作GCC插件或GCC MELT扩展。 But that will take you some time. 但那需要一些时间。

Perhaps some expensive commercial tools like Coverity could help. 也许一些像Coverity这样昂贵的商业工具可能有所帮助

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM