468,249 Members | 1,431 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,249 developers. It's quick & easy.

Auto-documenting existing code? (not just PhpDoc)

hi,

I would like to auto-doc some existing code, mostly so I can
understand it. I am slowly adding PhpDoc comments, but I miss some
tools which I have for C/c++.

For instance, the Code Visual to Flowchart - automatic code flow chart
generator at http://www.fatesoft.com/s2f/ looks great - but costs $180.
Does anyone know of anything which will anaylze PHP code and
auto-generate flowcharts ... for free? (a lot to ask, I know)

Or, more simply, what about a function call-tree generator? There are
any number of these as GPL for C - does anyone know of such a thing for
PHP?

Or even just something to show which files incldue which others, in a
large project?

Is anything else which might help, which have not mentioned? Preferably
freeware.

Thanks in advance.

Jan 19 '06 #1
4 1857
Baron Samedi wrote:
hi,

I would like to auto-doc some existing code, mostly so I can
understand it. I am slowly adding PhpDoc comments, but I miss some
tools which I have for C/c++.

For instance, the Code Visual to Flowchart - automatic code flow chart
generator at http://www.fatesoft.com/s2f/ looks great - but costs $180.
Does anyone know of anything which will anaylze PHP code and
auto-generate flowcharts ... for free? (a lot to ask, I know)
Thanks for sharing the link. FAIK, in PHP there is no tools like
CodeSMART for VB.
Or, more simply, what about a function call-tree generator? There are
any number of these as GPL for C - does anyone know of such a thing for
PHP?

Or even just something to show which files incldue which others, in a
large project?


You may still use phpdoc without the doc tags and check the
generated document. It will have the included files info and etc.
Doxygen can also be used in this case. FWIW, in PHPEdit
<http://www.waterproof.fr/> you may easily add (not that easy as
CodeSMART) the doc comments.

--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/

Jan 21 '06 #2

R. Rajesh Jeba Anbiah wrote:
For instance, the Code Visual to Flowchart - automatic code flow chart
generator at http://www.fatesoft.com/s2f/ looks great - but costs $180.
Does anyone know of anything which will anaylze PHP code and
auto-generate flowcharts ... for free? (a lot to ask, I know)


Thanks for sharing the link. FAIK, in PHP there is no tools like
CodeSMART for VB.


Raj, I also want to look at http://sourceforge.net/projects/algoview
for C.

I wonder, can it be easilly converted to PHP ? After all the keyword
which control flow are the question (if/else/switch/case/for/while)

Jan 24 '06 #3
Baron Samedi wrote:
R. Rajesh Jeba Anbiah wrote:
For instance, the Code Visual to Flowchart - automatic code flow chart
generator at http://www.fatesoft.com/s2f/ looks great - but costs $180.
Does anyone know of anything which will anaylze PHP code and
auto-generate flowcharts ... for free? (a lot to ask, I know)


Thanks for sharing the link. FAIK, in PHP there is no tools like
CodeSMART for VB.


Raj, I also want to look at http://sourceforge.net/projects/algoview
for C.

I wonder, can it be easilly converted to PHP ? After all the keyword
which control flow are the question (if/else/switch/case/for/while)


Yes, I hope so. But, I must confess that I didn't look at the
source as I won't be having time to play with it. And the software
looks awesome.

--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/

Jan 26 '06 #4

R. Rajesh Jeba Anbiah wrote:
Raj, I also want to look at http://sourceforge.net/projects/algoview
for C.

I wonder, can it be easilly converted to PHP ? After all the keyword
which control flow are the question (if/else/switch/case/for/while)


Yes, I hope so. But, I must confess that I didn't look at the
source as I won't be having time to play with it. And the software
looks awesome.


I am busy (extremely overloaded) myself, at the moment, but if I ever
do port this, I will post here.

Jan 27 '06 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Lew | last post: by
7 posts views Thread by Ugrasena via DBMonster.com | last post: by
5 posts views Thread by maya | last post: by
2 posts views Thread by Ehud Banai | last post: by
2 posts views Thread by Piotr K | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by zattat | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.