| Percentage | Lines | ||
|---|---|---|---|
| SortAction |
|
0 % | 78 |
| SortableBehavior |
|
76 % | 269 |
| CRAP Score | Lines | ||
|---|---|---|---|
| SortAction::run() | 182 | 48 | |
| SortableBehavior::relativeMove() | 90 | 35 | |
| SortableBehavior::sortChange() | 7 | 35 | |
| SortableBehavior::afterUpdate() | 5 | 28 | |
| SortableBehavior::recalculateSort() | 4 | 25 | |
| SortableBehavior::getCondition() | 3 | 10 | |
| SortableBehavior::beforeValidate() | 2 | 10 | |
| SortableBehavior::getMaxSort() | 2 | 7 | |
| SortableBehavior::moveAfter() | 2 | 4 | |
| SortableBehavior::moveBefore() | 2 | 4 | |