Doxygen to document all functions in a class with a call graph?

What would be the best way to figure out all the calls made in a C ++ class? I would like to not only find all the calls, I want to find functions that are not called at all, so I can clear my code. I heard that doxygen can work wonders when it generates call schedules, but it seems that it only generates call schedules for my constructor and, like other functions, when I have more than necessary.

All my class functions have been documented.

+6
source share
1 answer

Do we really need more information, for example, have you documented all your class methods? Have you made any changes to the default doxygen configuration file? As a first step, try installing

CALL_GRAPH = YES EXTRACT_ALL = YES EXTRACT_LOCAL_CLASSES = YES 

in the doxygen configuration file .

+7
source

Source: https://habr.com/ru/post/923555/


All Articles