| Percentage | Lines | ||
|---|---|---|---|
| NumberNode |
|
0 % | 40 |
| BooleanNode |
|
0 % | 24 |
| TagData |
|
0 % | 28 |
| Document |
|
31 % | 158 |
| StringNode |
|
33 % | 24 |
| NullNode |
|
33 % | 15 |
| ObjectNode |
|
34 % | 127 |
| Exception |
|
40 % | 25 |
| Pointer |
|
56 % | 276 |
| NodeListIterator |
|
60 % | 84 |
| CRAP Score | Lines | ||
|---|---|---|---|
| Pointer::resolvePointer() | 56 | 27 | |
| Pointer::resolveAncestor() | 30 | 24 | |
| Document::import() | 20 | 13 | |
| ArrayNode::setNodeAtIndex() | 20 | 13 | |
| ObjectNode::toArray() | 12 | 11 | |
| VectorNode::__clone() | 12 | 15 | |
| Document::importVectorNode() | 12 | 13 | |
| NumberNode::setValue() | 12 | 7 | |
| VectorNode::clear() | 12 | 9 | |
| VectorNode::appendClonedChildNodes() | 12 | 8 | |