Fortunately, I've never been asked this so I might be off here, but 
wouldn't the # of lines in a def file be heavily influenced by any images 
(background/button/etc) on the form, making that number particularly 
inaccurate?

My guess would be to provide the number of workflow objects along with 
J.T.'s explanation of how ARS works.

Thad Esser
Remedy Developer
"Argue for your limitations, and sure enough, they're yours."-- Richard 
Bach



"Gary Opela (Corporate)" <[EMAIL PROTECTED]> 
Sent by: "Action Request System discussion list(ARSList)" 
<[email protected]>
07/09/2008 09:40 AM
Please respond to
[email protected]


To
[email protected]
cc

Subject
Re: "Lines of code" in Remedy?






** 
Well, my last remedy custom app I wrote was a purchasing system. It is not 
yet tied in with any other remedy apps, so it?s fairly small.
 
22         Forms
146       Active Links
38         Filters
15         Active Link Guides
16         Menus
 
I did a line count on the def file, and it was 64,973 lines.
 
I just used this number and plan on just comparing it to other remedy 
applications.

My other solution was to open each form in the mid-tier (since my app is 
mid-tier only), and do a view source on each form, count the number of 
lines for each form. Then, look at each active link, and see how many 
actions it performed (If and Else both), and do the same with each filter. 
Count those lines, and multiply them by, say, 4 or 5, and then get the 
menus, guides, etc. However, there was so much guessing as to how many 
lines of traditional code vs. remedy code would be, as well as managing 
the additional lines added by future upgrades, I just went with a straight 
line count. That way, whenever I implement a change, I just take a def 
file and do a line count, and I know that my last change added around 140 
lines to the def file.
 
It?s not an exact science, and I like what Matt said better, of tracking 
how many objects it has as opposed to how many lines of code, since lines 
of code is really an irrelevant metric for a remedy application. However, 
our CMMI processes state explicitly that Source Lines of Code would be 
tracked, so I had to go with the insanely large number.
 
Thanks,
 
Gary Opela, Jr., RSP
Remedy Engineer
Leader Communications, Inc.
http://www.5pointleader.com
http://www.lcibest.com
Best Product, Best People, Best PriceTM
An ISO 9001:2000 Certified, CMMI® Level 3 Rated Company

From: Action Request System discussion list(ARSList) 
[mailto:[EMAIL PROTECTED] On Behalf Of Matt Reinfeldt
Sent: Wednesday, July 09, 2008 11:32 AM
To: [email protected]
Subject: Re: "Lines of code" in Remedy?
 
David,
 
For fun, you could export your entire system to a .def file and give the 
line count.  Then, for fun (and I don't suggest doing this on a prod 
box!), export the system to .xml file and do a line count... even bigger! 
:)
 
Other than that, I think the most realistic way is to do an object count:
·         Number of Forms
·         Number of Active Links
·         Etc..
For other Remedy developers, at least, saying you have a 60-form 
application with 700 filters, and 1100 Active Links, plus guides and 
escalations give a pretty accurate estimation of what it would take to 
maintain, enhance, and support the application.
 
 
Good luck,
 
Matt R.
 
-----Original Message-----
From: Action Request System discussion list(ARSList) 
[mailto:[EMAIL PROTECTED] On Behalf Of David.M Clark
Sent: Wednesday, July 09, 2008 11:20 AM
To: [email protected]
Subject: "Lines of code" in Remedy?
 
All,
 
I've been asked to estimate the "number of lines of code we have in 
Remedy".  Any ideas on how to approach a question like that?  Feel free to 
save your response for Friday Humor if you prefer.
 
Thanks,
 
-David
 
David M Clark
Remedy Programmer/Analyst
 
 
 
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"
__Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are" 
html_____Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers 
Are" html___ 

***IMPORTANT NOTICE: This communication, including any attachment, contains 
information that may be confidential or privileged, and is intended solely for 
the entity or individual to whom it is addressed.  If you are not the intended 
recipient, you should delete this message and are hereby notified that any 
disclosure, copying, or distribution of this message is strictly prohibited.  
Nothing in this email, including any attachment, is intended to be a legally 
binding signature.***

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"

Reply via email to