| Percentage | Lines | ||
|---|---|---|---|
| JsonDiff |
|
92 % | 558 |
| JsonPointer |
|
94 % | 298 |
| OpPathFrom |
|
100 % | 8 |
| ModifiedPathDiff |
|
100 % | 23 |
| JsonMergePatch |
|
100 % | 23 |
| OpPathValue |
|
100 % | 8 |
| OpPath |
|
100 % | 11 |
| JsonValueReplace |
|
100 % | 72 |
| JsonPatch |
|
100 % | 197 |
| CRAP Score | Lines | ||
|---|---|---|---|
| JsonDiff::rearrangeEqualItems() | 72 | 42 | |
| JsonDiff::process() | 50 | 143 | |
| JsonDiff::rearrangeArray() | 40 | 111 | |
| JsonPointer::add() | 31 | 64 | |
| JsonPatch::import() | 19 | 67 | |
| JsonPointer::remove() | 16 | 51 | |
| JsonPatch::apply() | 13 | 66 | |
| JsonValueReplace::process() | 12 | 43 | |
| JsonPointer::get() | 10 | 33 | |
| JsonMergePatch::apply() | 7 | 21 | |