xsl-list
[Top] [All Lists]

Re: XSLT SLOC counter ...

2004-08-17 10:06:54
Hi Tom,

At 10:23 AM 8/17/2004, you wrote:
Is there a SLOC counter for XSLT available.
I would like to get some form of size measurements
for this type of coding.

I've never heard of one.

But since XSLT is expressed in XML, it'd be pretty easy to write a stylesheet to run over stylesheets and do things like count the number of templates, count the number of instructions and instructions per template, count the numer of modes and named templates, etc. "Lines of code" in the strict sense is pretty meaningless in XML.

Is it a permathread somewhere to debate whether any such measurements have any value? Typically when I've been hired to rewrite someone else's buggy code, the fixed code has been shorter (sometimes much shorter) than the unfixed code.

Cheers,
Wendell


======================================================================
Wendell Piez                            
mailto:wapiez(_at_)mulberrytech(_dot_)com
Mulberry Technologies, Inc.                http://www.mulberrytech.com
17 West Jefferson Street                    Direct Phone: 301/315-9635
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
----------------------------------------------------------------------
  Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================



<Prev in Thread] Current Thread [Next in Thread>