Using doxygen to create (through graphviz's dot) a graphical representation of the entire program

假如想象 提交于 2019-12-06 08:53:03

问题


A stack overflow thread (found through google of course) directed me to use doxygen to auto-create documentation (originally because I inherited a code base that was to be diagrammed, and I got tired of doing it by hand through Dia Diagram Editor).

Now doxygen has turned out to be really quite useful. However there is one thing I still can't seem to make it do: generate an include (or call) diagram for the entire code base. It'll generate an include hierarchy for a single file, or a call diagram for a single function, but I want to see the whole thing (it's not a very large code base :D ).

Anyone happen to know?

P.S. this in C, but I doubt it matters.


回答1:


Whole-program static analysis is really beyond the scope of Doxygen, I feel.

However, the question 'Tools to get a pictorial function call graph of code' asks for much the same thing, and the answers refer to a number of different tools that sound very promising.



来源:https://stackoverflow.com/questions/6496644/using-doxygen-to-create-through-graphvizs-dot-a-graphical-representation-of-t

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