简体   繁体   中英

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. 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. Can you please tell me tool or any other way to understand the big C++ framework code ?

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

Doxygen is free, popular, and easy to use. http://www.doxygen.nl/

Grab the graphviz plugin to generate some fancy graphs.

You can use Eclipse CDT for this. 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.

If you used GCC, you might consider making a GCC plugin or a GCC MELT extension. But that will take you some time.

Perhaps some expensive commercial tools like Coverity could help.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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