Aziz,
the '% of linecount' would/might take into account the XML Markup overhead, IF you were looking for a ball-park, or 'estimated # of lines of code'. Otherwise strip out the XML MARKUP and do a linecount of that.
Depends on how useful the number you seek really needs to be.
Is this # gonna be used for: developer performance evaluation? change management analysis? or just bragging about complexity? or "compensating" for something other problem(ran out of Enzyte :) ?
There is additional everhead for Class:Property/other declarations. 'Is that really a line of code though?' one might debate(which I recommend we don't do here.) Its really up to your needs.
Doug Hendricks
BTW: Aziz, Try to post replies back to the newsgroup:
Aziz Abdullah wrote:
Thanks a lot for your help. I exported the project and get the line numbers, but there are some line which is not the actual code of line (i.e. XML tags etc.). Actually I did not understand what you meant by "% of resulting linecount"? Thanks.
Why not export the entire project to XML file and take a % of resulting linecount ?
Aziz Abdullah wrote:
Hello All:
Currently I am trying to count number of lines in csp, mac & cls files in a
single Cache project. Is there any way to do it by using Cache?
All helps appreciated. Thanks.
Aziz
