Thread: [Doxygen-users] call graph problems
Brought to you by:
dimitri
|
From: Lorenz <lor...@ya...> - 2015-12-11 12:27:54
|
Hi all, I have a problem with call graph generation in a Cpp project. I some cases calls to methodes of the same class are not reflected in the graph. In the example below, call(er) graphs for method1/2, method 5/6 and method7/8 are generated, but not for method3/4 and method9/10. I would like to provide the complete example (including doxyfile and the generated html), but I don't seem to be able to attach it to my message (at least not when posting via gmane.org). So here is at least the sample source code: ===== doxytest.h ===== namespace doxytest { //! test class for doxygen experiments // class doxytest1 { public: void method1 (void); void method2 (void); void method3 (void); void method4 (void); void method5 (void); void method6 (void); void method7 (void); void method8 (void); void method9 (void); void method10 (void); }; } //namepspace ===== doxytest.cpp ===== #include "doxytest.h" void doxytest::doxytest1::method1 (void) { method2(); } void doxytest::doxytest1::method2 (void) { } void doxytest::doxytest1::method3 (void) { method4(); } void doxytest::doxytest1::method4 (void) { } namespace doxytest { void doxytest1::method5 (void) { method6(); } void doxytest1::method6 (void) { } } void doxytest::doxytest1::method7 (void) { method8(); } void doxytest::doxytest1::method8 (void) { } void doxytest::doxytest1::method9 (void) { method10(); } void doxytest::doxytest1::method10 (void) { } namespace doxytest { ========== |
|
From: Albert <alb...@gm...> - 2016-01-02 17:55:34
|
Lorenz, Which version of doxygen are you using? What are your flags that are different from the default Doxyfile? Using version 1.8.11 I see all graphs. Note: why/what are the last 2 non-blank lines in your doxytest.cpp pasted code. Albert On Fri, Dec 11, 2015 at 1:26 PM, Lorenz <lor...@ya...> wrote: > Hi all, > > I have a problem with call graph generation in a Cpp project. > > I some cases calls to methodes of the same class are not reflected in > the graph. > > In the example below, call(er) graphs for method1/2, method 5/6 and > method7/8 are generated, but not for method3/4 and method9/10. > > > I would like to provide the complete example (including doxyfile and > the generated html), but I don't seem to be able to attach it to my > message (at least not when posting via gmane.org). > > So here is at least the sample source code: > > ===== doxytest.h ===== > > namespace doxytest > { > > //! test class for doxygen experiments > // > class doxytest1 > { > public: > void method1 (void); > void method2 (void); > void method3 (void); > void method4 (void); > void method5 (void); > void method6 (void); > void method7 (void); > void method8 (void); > void method9 (void); > void method10 (void); > }; > > } //namepspace > > ===== doxytest.cpp ===== > > #include "doxytest.h" > > void doxytest::doxytest1::method1 (void) > { > method2(); > } > > void doxytest::doxytest1::method2 (void) > { > } > > void doxytest::doxytest1::method3 (void) > { > method4(); > } > > void doxytest::doxytest1::method4 (void) > { > } > > namespace doxytest > { > void doxytest1::method5 (void) > { > method6(); > } > > void doxytest1::method6 (void) > { > } > } > > void doxytest::doxytest1::method7 (void) > { > method8(); > } > > void doxytest::doxytest1::method8 (void) > { > } > > void doxytest::doxytest1::method9 (void) > { > method10(); > } > > void doxytest::doxytest1::method10 (void) > { > } > namespace doxytest > { > > ========== > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Doxygen-users mailing list > Dox...@li... > https://lists.sourceforge.net/lists/listinfo/doxygen-users > |
|
From: lorenz <lor...@ya...> - 2016-01-02 19:49:42
|
Albert <albert.tests <at> gmail.com> writes: > > Lorenz, > Which version of doxygen are you using? I'm using 1.8.11 to on a win7-64 workstation > What are your flags that are different from the default Doxyfile? I'll post the doxyfile and the generated html as soon as I have access to the my workstation again (I tried to post them including the bitmaps, but that failed due to the size. And then I got distracted). But that won't be before the 11th (on vacation in the moment 8-) > Using version 1.8.11 I see all graphs. > Note: why/what are the last 2 non-blank lines in your doxytest.cpp > pasted code. looks like remnants of a previous test. Thanks for looking into this. -- Lorenz |
|
From: Albert <alb...@gm...> - 2016-01-03 08:49:44
|
Lorenz, I've tested it with the 1.8.10 version now as well and I see that here the graphs for method3/4 and method9/10 are missing. So I think it was a bug in the 1.8.10 version. (I don't think you were using 1.8.11 but 1.8.10 as doxygen 1.8.11 was released on December 30,2015 and you didn't mentioning using the git repository version.) Albert On Sat, Jan 2, 2016 at 8:49 PM, lorenz <lor...@ya...> wrote: > Albert <albert.tests <at> gmail.com> writes: > > > > Lorenz, > > Which version of doxygen are you using? > > I'm using 1.8.11 to on a win7-64 workstation > > > > What are your flags that are different from the default Doxyfile? > > > I'll post the doxyfile and the generated html as soon as I have access to > the my workstation again (I tried to post them including the bitmaps, but > that failed due to the size. And then I got distracted). But that won't be > before the 11th (on vacation in the moment 8-) > > > > Using version 1.8.11 I see all graphs. > > Note: why/what are the last 2 non-blank lines in your doxytest.cpp > > pasted code. > > looks like remnants of a previous test. > > > Thanks for looking into this. > -- > > Lorenz > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Doxygen-users mailing list > Dox...@li... > https://lists.sourceforge.net/lists/listinfo/doxygen-users > |
|
From: Lorenz <lor...@ya...> - 2016-01-11 14:07:36
|
Hi Albert, happy new year Albert wrote: >I've tested it with the 1.8.10 version now as well and I see that here the >graphs for method3/4 and method9/10 are missing. So I think it was a bug in >the 1.8.10 version. >(I don't think you were using 1.8.11 but 1.8.10 as doxygen 1.8.11 was >released on December 30,2015 and you didn't mentioning using the git >repository version.) you're right, I was running 1.8.10 on my tests. I've just run my original project through 1.8.11 and have not found any missing graphs so far. So it seems 1.8.11 fixed the problem I was seeing. Thanks again for looking into this. -- Lorenz |
|
From: Albert <alb...@gm...> - 2016-01-11 18:50:45
|
Hi Lorenz, Happy new year to you as well. Good to hear that the problem seems to be solved. Best Regards, Albert On Mon, Jan 11, 2016 at 3:05 PM, Lorenz <lor...@ya...> wrote: > Hi Albert, > > happy new year > > Albert wrote: > >I've tested it with the 1.8.10 version now as well and I see that here the > >graphs for method3/4 and method9/10 are missing. So I think it was a bug > in > >the 1.8.10 version. > >(I don't think you were using 1.8.11 but 1.8.10 as doxygen 1.8.11 was > >released on December 30,2015 and you didn't mentioning using the git > >repository version.) > > you're right, I was running 1.8.10 on my tests. > > I've just run my original project through 1.8.11 and have not found > any missing graphs so far. > > So it seems 1.8.11 fixed the problem I was seeing. > > Thanks again for looking into this. > -- > > Lorenz > > > > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 > _______________________________________________ > Doxygen-users mailing list > Dox...@li... > https://lists.sourceforge.net/lists/listinfo/doxygen-users > |