Axis | Meaning |
---|---|
Axes appearing in canonical paths | |
schemaAttribute | Attribute declaration |
schemaElement | Element declaration |
type | Type definition |
attributeGroup | Named attribute group definition |
group | Named model group definition |
identityConstraint | Identity constraint definition |
key | Referenced key in identity constraint definition |
notation | Notation declaration |
model | Model group |
anyAttribute | Attribute wildcard |
any | Wildcard |
facet | Constraining or fundamental facet |
annotation | Annotation |
assertion | Assertion (1.1 component model only) |
alternative | Type alternative (1.1 component model only) |
Axes appearing in non-canonical paths | |
component | Any component |
currentComponent | The current component |
substitutionGroup | The substitution group head of an element declaration |
baseType | The base type of a type definition |
primitiveType | The primitive type of a simple type definition |
itemType | The item type of a list simple type definition |
memberType | A member type of a union simple type definition |
particle | A particle in a model group |
attributeUse | An attribute use (local attribute declaration) |
scope | The complex type definition, attribute group definition, or model group definition defining the scope of a local element or attribute declaration |
context | The complex type definition, attribute declaration, or element declaration defining the context of a local type definition |
File size kB or lines of code |
XML nodes: total |
XML annotation nodes: total |
Element declarations: #global, #local, total |
Complex type definitions: #global, #local, total |
Simple type definitions: #global, #local, total |
Named model group definitions: #global, total |
Attribute group definitions: #global, total |
Attribute declarations: #global, #local, total |
McCabe cyclomatic complexity for XML Schema |
Code-oriented breadth and depth |
Instance-oriented breadth and depth |
Annotation nodes: total |
Element declarations: #global, #local, #references |
Complex type definitions: #global, #local, total, #simple, #mixed, #element-only, #derived |
Simple type definitions: total, restrictions/total |
Attributes: average per complex type |
Elements: average bounded element multiplicity, fanning |
Quality index |
Complexity index |
Schema | Elements | Types | Attributes | E+T+A | Paths | Path length | Level 10 paths | Level 10 path length |
---|---|---|---|---|---|---|---|---|
XSLT 2.0 | 52 | 93 | 185 | 330 | 481 | 3.56 | 1850 | 6.54 |
XHTML 1.1 | 97 | 119 | 230 | 446 | 1682 | 3.81 | 923374 | 13.58 |
XMLSpec | 178 | 226 | 139 | 543 | 1087 | 3.22 | 10889 | 10.09 |
SDocBook | 119 | 282 | 785 | 1186 | 1574 | 3.19 | 4183690 | 12.41 |
FpML 4.4 | 1972 | 889 | 262 | 3123 | 7313 | 3.85 | 73110 | 9.59 |
GML 3.2 | 1063 | 1137 | 1717 | 3917 | 6386 | 3.22 | 61249 | 8.58 |
Global | E+T+A Global/Total | Named Groups | Substitution Group Heads | |||||
---|---|---|---|---|---|---|---|---|
Schema | Elements | Types | Attributes | E+T+A | Model | Attribute | ||
XSLT 2.0 | 52 | 28 | 4 | 84 | 0.25 | 2 | 2 | 3 |
XHTML 1.1 | 97 | 98 | 1 | 196 | 0.44 | 57 | 141 | 0 |
XMLSpec | 178 | 6 | 14 | 198 | 0.36 | 17 | 168 | 16 |
SDocBook | 119 | 119 | 0 | 238 | 0.20 | 0 | 0 | 0 |
FpML 4.4 | 110 | 888 | 0 | 998 | 0.32 | 69 | 1 | 11 |
GML 3.2 | 631 | 660 | 14 | 1305 | 0.33 | 7 | 15 | 114 |