After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 671166 - Fortran 90: Doxygen does not generate call/caller graphs
Fortran 90: Doxygen does not generate call/caller graphs
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: build
1.8.0
Other Mac OS
: Normal major
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2012-03-01 20:07 UTC by astroscion
Modified: 2012-05-19 12:26 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Comparison between Doxygen 1.7.4 and 1.7.5[.1] (Fortran codes + Doxyfile + Html output + logout files ) (307.82 KB, application/zip)
2012-03-01 20:07 UTC, astroscion
Details
PATCH: correcting a number of items regarding caller / callee graphs (7.78 KB, application/octet-stream)
2012-05-13 15:36 UTC, albert
Details

Description astroscion 2012-03-01 20:07:25 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.
Comment 1 albert 2012-04-22 13:58:06 UTC
Problem is due to the fact that the routines are in a module and the scope is not correctly handled.
Comment 2 Doug Jacobsen 2012-05-10 19:54:26 UTC
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.
Comment 3 albert 2012-05-11 05:30:50 UTC
I'm currently testing a patch that should correct this problem, I'll probably submit a patch this weekend.
Comment 4 albert 2012-05-13 15:36:56 UTC
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.
Comment 5 Doug Jacobsen 2012-05-13 16:13:04 UTC
I tested this new patch, and it seems to fix the call graph issues with large fortran projects.
Comment 6 astroscion 2012-05-16 09:20:57 UTC
I have also tested the patch. It seems to fix the problems.
Thx!
Comment 7 Dimitri van Heesch 2012-05-18 08:55:26 UTC
Thanks, I'll include the patch in the next subversion update.
Comment 8 Dimitri van Heesch 2012-05-19 12:26:20 UTC
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.