473,800 Members | 2,406 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2139
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
34323
by: Lew | last post by:
Hi all, I'm trying to create a page that has a user-selectable page auto-refresh option (IE 5.5). Essentially, it's a page that contains a checkbox, when the user checks the checkbox, I'd like the page to auto-refresh every 4 seconds....if the user un-checks the checkbox, I'd like to turn off the auto refresh. The page is as follows:
7
6558
by: Ugrasena via DBMonster.com | last post by:
Hi team i am using DB2 7.2 on Windows2000. We have lot many SQL Procedure Calls, is there any way i can Turn off the Auto Commit on that Database, the Problem i have is many of our Application Dont Use Auto Commit = false, and if we have any Error in the SQL procedure say after Executing 10 Update and Insert Statements the DB2 is commiting all the Previous Statements, even though there was an Error, how can i prevent this from the Database...
2
2055
by: VB Programmer | last post by:
I created a page which I am using to prevent the user from hitting the BACK button. I'll call it my "Auto Jump" page. When it is called it basically auto-redirects to a page specified in the QueryString. (We'll call the page it goes to the "destination page".) If the user hits BACK on the destination page it should goto the "Auto Jump" page which should put you right back to where you hit the button. In Page_Load of this "Auto Jump"...
5
3280
by: maya | last post by:
at work they decided to center divs thus: body {text-align:center} #content {width: 612px; text-align:left; margin: 0 auto 0 auto; } this works fine in IE & FF, EXCEPT in FF it doesn't work if I change 'auto' to 0 for left and right margin values; I have to leave those at 'auto'.. so I would like to know what exactly means 'auto' -- what value it represents exactly (and does it apply for all elements/values you might apply 'auto' to?)
9
18853
by: Beowulf | last post by:
I was having this problem: http://groups.google.com/group/microsoft.public.sqlserver.server/msg/e36e423972323378?dmode=source with it taking an inordinate amount of time to enumerate the databases on my local SQL Server instance, so I went through all the local databases and unchecked "Auto Close" on the "Options" tab of the Database properties in Enterprise Manager. This cleared up the problem nicely. In EM or through SQL-DMO, the...
2
3124
by: Ehud Banai | last post by:
Hi All, Is there any script or dll that allows me to do auto correction to digital pictures from PHP? Thanks in advance, Ehud
2
3082
by: Piotr K | last post by:
Hi, I've encountered a strange problem with Firefox which I don't have any idea how to resolve. To the point: I've <divelement with a style "height: auto" and I want to retrieve this value ("auto") in JavaScript - however instead of getting "auto" value, I get calculated height. In IE and Opera it simply returns "auto". Any ideas how to check in Firefox if element height was set to "auto" ? I'll be grateful for any help.
1
1499
by: glasssd | last post by:
Hi, I was hoping someone might have some ideas on how I can hack around a problem I'm having with the auto-complete feature of the ComboBox. I have a data entry application that uses a pair of ComboBoxes on the main entry screen. These are configured to use the Suggest Append auto-complete feature with the List Items as the data source. Functionally, it works great and really helps speed up the entry process. However it appears that when...
3
7528
by: Justin | last post by:
What is the difference between automatic and DMS Auto-resize tablespace?
21
6364
by: JOYCE | last post by:
Look the subject,that's my problem! I hope someone can help me, thanks
0
9690
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10505
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10275
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10253
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10033
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9085
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7576
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6811
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5471
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.