3

When approaching a new code, even for embedded software written in C, it is common to face a large number of big files, with no/scarce/wrong comments.

In this situation, to have a basic understanding of the modules and their interaction, I often use Doxygen, that it is great to get graphical representations of function call trees and directory dependencies. But I would like to get also some info about data flows, to have a more complete overview of the architecture. For example, the messages exchanged between tasks (if an operating system is used) or global variables/flags that are set/read/reset by two or more modules (it should not go like that, but unfortunately it happens, sometimes).

Is it possible to get this type of output?

4
  • Which version of doxygen are you using? What do you mean / want to see from " get also some info about data flows" Commented Mar 4 at 11:41
  • I don't think you can automatically generate data flow diagrams. Data access is much more complicated than a call graph or include graph. Commented Mar 5 at 11:23
  • @albert: I am using version 1.9.8, but there would be no problem in upgrading, of course. About the info I'd like to see, I have edited the question. Commented Mar 5 at 14:12
  • Like @Bodo already indicated this is not possible in doxygen except that doxygen can create some UML diagrams that might share some light. For communicating between tasks there is no automatic way (a user could create e.g. MSC / plantuml / dot diagrams for it. The current (1.13.2) version won't solve this either. Commented Mar 5 at 14:34

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.