From: Falko M. <ma...@fa...> - 2009-07-15 08:58:20
|
Hi Martin, yes, it means that the code to be analyzed has to be altered. An example for a file called test.php would be: <?php function dummyFunctionForFile_test_php() { phpinfo(); } ?> Of course this is not very elegant, but currently the only feasible way due to some conceptual restrictions resulting from the utilization of the InstantSVC CodeAnalyzer. I already had an idea on how to make that dirty dummy function workaround unnecessary, but it's like always: So much to code, so little time. ;) btw: Are you analysing any free software? I'm always keen to put interesting examples on the phpCallGraph website. Cheers, Falko Ma...@Cl... wrote: > Fakko, > > You write: > > "Such code can be manually wrapped in a dummy function called > dummyFunctionForFile_filename_php() which will then > be recognized by PHPCallGraph." > > Can you give me an example of this? Do I have to alter the source code being > analyzed? > > Looks really interesting this, I'm looking to see if I can generate a UML > sequence diagram from the call graph. > > http://www.google.com/search?q=uml+sequence+diagram+call+graph > > Thanks, > Martin. > -- > Ma...@Cl... > http://twitter.com/mrjcleaver > +1 416-786-6752 (GMT-5) > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited time, > vendors submitting new applications to BlackBerry App World(TM) will have > the opportunity to enter the BlackBerry Developer Challenge. See full prize > details at: http://p.sf.net/sfu/Challenge > > > ------------------------------------------------------------------------ > > _______________________________________________ > phpCallGraph-general mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/phpcallgraph-general |