Class dependency tool

╄→尐↘猪︶ㄣ 提交于 2019-12-18 18:07:11

问题


I'm looking for a (preferably open source) tool that, given a large body of C/C++ code, will generate a visual or maybe XML graph of dependencies between classes (C++) and/or files (C).

The idea would be that, if you had to convert the code to another language, you'd like to be able to get the lowest level classes compiling first, and build up from there. So, you'd first need to identify which classes those are.

As far as I can tell, Doxygen doesn't have quite this capability, but I could be wrong.


回答1:


Doxygen will do some pretty neat graphs.




回答2:


Documentation and Reverse Engineering Tools

1) Doxygen

2) inSight (Unix, Linux, Windows)

3) Rational Rose

4) Source Navigator

5) BOUML

List of Non-commercial/Free UML tools




回答3:


I haven't used any open sources tools for this, but the Rhapsody UML tool does a good job of doing this. They used to give a 30 day free trial to anyone who asked, IBM just bought it so I don't know if they still do.
http://www-01.ibm.com/software/awdtools/rhapsody/ It will reverse C/C++/Java/Ada.



来源:https://stackoverflow.com/questions/1544274/class-dependency-tool

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!