doxygen or something like it?

scootermaster

Platinum Member
Nov 29, 2005
2,411
0
0
I've got a bunch of code, and I actually enjoy commenting more than actual code, but it's not, uh, "formatted" to anything.

Are there other standards/softwares out there other than doxygen that can do pretty things with your comments? I figure I should learn one, but I'm not sure which (if there's more than one).


 

scootermaster

Platinum Member
Nov 29, 2005
2,411
0
0
Originally posted by: MrChad
I use JavaDoc for my Java code and XML-based comments for my C# code.

Ah.

Shoulda mentioned that it's in C++.

I've done some digging, and it pretty much looks like it's just doxygen.

Is there a specific format for the XML comments?
 

MrChad

Lifer
Aug 22, 2001
13,507
3
81
Originally posted by: scootermaster
Originally posted by: MrChad
I use JavaDoc for my Java code and XML-based comments for my C# code.

Ah.

Shoulda mentioned that it's in C++.

I've done some digging, and it pretty much looks like it's just doxygen.

Is there a specific format for the XML comments?

It's just Microsoft's response to JavaDoc. There is a specific format and specific tags to use.

http://msdn.microsoft.com/msdnmag/issues/02/06/XMLC/
 

nova2

Senior member
Feb 3, 2006
982
1
0
if this codebase is huge and you find doxygen takes hours to finish, then these notes may help you

88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888
file:///J:/dl/pte/general-P-R/Doxygen/performance_issues/Doxygen%20Speed%20Issues%20_ts%20martin%20sweitzer.htm

SEARCH_INCLUDES = NO made a big difference. With it set to
NO, the documentation takes ~40 minutes to build. With it set to YES,
Doxygen ran for 8 hours before exhausting memory and stopping.
-----------------------------------------------------

I tried first setting SEARCH_INCLUDES to NO and then removing *.h from
the set of input files. Either change significantly reduced the time
taken but at the expense of documentation produced.
********************************************************************************************

SHOW_DIRECTORIES - setting this to NO reduces
generation time by two thirds.
--------------
Jake Colman reported 39.31 mins with SHOW_DIRECTORIES = NO
and 57.32 mins with it enabled. 18.01 min difference.

significant difference if your project takes hours to DG.
88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888

I also tried wrapping a shell script around dot, as I mentioned, and only
actually calling dot for graphs of 100 or fewer nodes. This works splendidly.
The 15.5 hour running time was reduced to 45min. If any of you have a tough
time with a long Doxygen job that is using dot, give it a try.

-Karl
******************************************************************

From: Karl Pfleger <kpfleger@cs...>.stanford.edu>
Re: how to avoid running dot for really big diagrams
2003-03-28 18:42

> I wouldn"t expect this to do anything other than scale down the image. I
> wouldn"t think this would save any time running dot. I tried this but 5.5
> hours into my trial run it doesn"t seem to be helping.

So it turns out it did actually help. Reducing dot"s width and height from
1024 to 512 for both reduced running time from 15.5 hours to 7 hours. Still,
not nearly as good as 45min from not running dot on the 100+ node graphs.
-Karl
 

Red Squirrel

No Lifer
May 24, 2003
68,452
12,609
126
www.anyf.ca
Haha that is true, but if you want to be safe, do something like:

//no params overload (any arty, fixed level randomization) : used for peerless boss only
public static Item Peerless()
{
return Peerless(0.01>Utility.RandomDouble() ? 3 : 0.1>Utility.RandomDouble() ? 2 : 1,0);
}

Perfectly commented and spaced. But a new programmer wont know WTF that even does.
 

scootermaster

Platinum Member
Nov 29, 2005
2,411
0
0
Originally posted by: Atheus
commenting your code makes you easily replaceable

If you're a codemonkey.

I'm anything but.

Edit:Clearly, as evidenced my the fact I couldn't get the above smilie to work. But really...the day I get a job as a software engineer is the day I...uhh...give up?
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |