XsdMetz 
The XsdMetz tool computes metrics for XML schemas.
 Documentation 
XsdMetz was developed to support the structure metrics defined in the following publication:
 
-  Joost Visser, Structure Metrics for XML Schema, XATA 2006. pdf
Later, support for other metrics has been added to XsdMetz, based on the metric definitions in:
 
-  Ralf Lämmel, Stan Kitsis, and Dave Remy, Analysis of XML Schema Usage, abstract and pdf
Information on the usage of XsdMetz is obtained by running 
XsdMetz -h at the command line.
 Download 
XsdMetz is a sub-library of the 
UMinho Haskell Libraries. A stand-alone release is in preparation.
 Credits