GNOME Bugzilla – Bug 671166
Fortran 90: Doxygen does not generate call/caller graphs
Last modified: 2012-05-19 12:26:20 UTC
Created attachment 208811 [details] Comparison between Doxygen 1.7.4 and 1.7.5[.1] (Fortran codes + Doxyfile + Html output + logout files ) Hello, Since the version 1.7.5[.1], I noted that Doxygen does not generate call and caller graphs. Please find attached my tests performed with doxygen 1.7.4 (that is ok) and doxygen 1.7.5[.1] (where the problem appears for the first time). For the test, I written a simple fortran 90 code with a main (Tests_main.f90) which uses two modules (precision.f90 - maths.f90): - Test_main.f90 calls the subroutine func() in the module 'maths'; - func() calls the subroutine add() and the function plus(). For both versions, I use the same Doxyfile. For each version of Doxygen, I give the generated html output and the logout. As you can see in the html output and the logout file, no call or caller graphs are generated with the version 1.7.5[.1] !!! This bug is not fixed in the last stable version 1.8.0. I use: OS : Mac OS X Lion 10.7.3 Dot tool: GraphViz 2.28.0 with DOT_PATH = /usr/local/bin/ Kind regards, Guillaume.
Problem is due to the fact that the routines are in a module and the scope is not correctly handled.
I also have this same issue. Current versions (1.8.0) of doxygen fail to create call/caller graphs for fortran projects. But I went back to 1.7.4 and call/caller graphs were created properly.
I'm currently testing a patch that should correct this problem, I'll probably submit a patch this weekend.
Created attachment 213960 [details] PATCH: correcting a number of items regarding caller / callee graphs This patch fixes a number of issues regarding the creation of caller / callee graph as well as cross references in the source code.
I tested this new patch, and it seems to fix the call graph issues with large fortran projects.
I have also tested the patch. It seems to fix the problems. Thx!
Thanks, I'll include the patch in the next subversion update.
This bug was previously marked ASSIGNED, which means it should be fixed in doxygen version 1.8.1. Please verify if this is indeed the case. Reopen the bug if you think it is not fixed and please include any additional information that you think can be relevant.