Re: [xsl] Measuring the complexity of XSLT stylesheets
by Dimitre Novatchev other posts by this author
Apr 17 2005 1:36PM messages near this date
Re: [xsl] Measuring the complexity of XSLT stylesheets
|
Re: [xsl] Measuring the complexity of XSLT stylesheets
& XSLT http://www.sei.cmu.edu/str/descriptions/cyclomatic_body.html
Cyclomatic Complexity (McCabe)
Measures the number of linearly-independent paths through a program module
Halstead Complexity Measures
Algorithmic complexity, measured by counting operators and operands
Henry and Kafura metrics
Coupling between modules (parameters, global variables, calls)
Bowles metrics
Module and system complexity; coupling via parameters and global variables
Troy and Zweben metrics
Modularity or coupling; complexity of structure (maximum depth of
structure chart); calls-to and called-by
Ligier metrics
Modularity of the structure chart
Cheers,
Dimitre Novatchev
On 4/18/05, Lars Marius Garshol <larsga@[...].no> wrote:
>
> I'm writing a paper where I'm evaluating different XML vocabularies
> for expressing the same information, and one of my evaluation criteria
> is how easily the resulting XML can be processed with XSLT. At the
> moment the paper contains only prose with a subjective appraisal of
> the various approaches. This is fine, as far as it goes, but it would
> be nice to have something more objective to back it up with. Are there
> any established criteria for evaluating the complexity of XSLT
> stylesheets?
>
> There are some obvious criteria I could think of, like:
>
> - size of stylesheet in bytes, lines, and XML elements+attributes,
>
> - number of elements from the XSLT namespace, and
>
> - combined length (in characters) of XPath expressions.
>
> I think these criteria would work, but I'm not convinced that they
> really capture complexity directly. Can anyone suggest better
> alternatives?
>
> --
> Lars Marius Garshol, Ontopian <URL: http://www.ontopia.net >
> GSM: +47 98 21 55 50 <URL: http://www.garshol.priv.no >
>
> --~------------------------------------------------------------------
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
> To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
> or e-mail: <mailto:xsl-list-unsubscribe@[...].com>
> --~--
>
>
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe@[...].com>
--~--
Thread:
Lars Marius Garshol
Anthony B. Coates
James Fuller
Dimitre Novatchev
Lars Marius Garshol
Dimitre Novatchev
Adam Turoff
M. David Peterson
Sebastien Arbogast
Lars Marius Garshol
Jirka Kosek
Lars Marius Garshol
James Fuller
Lars Marius Garshol
Colin Paul Adams
M. David Peterson
M. David Peterson
Jun Zhang
M. David Peterson
Francesco Barresi
Ben Pickering
Lars Marius Garshol
M. David Peterson
Colin Paul Adams
|