Code

Rating Name Duplication Size Complexity Changes Bugs   Features
A Test\TestCase::getEnvironmentSetUp() 0 9 1 0 0 0
A SortableTest::it_will_not_break_when_it_cant_move_the_order_up() 0 7 1 0 0 0
A SortableTrait::swapOrderWithModel() 0 14 1 0 0 0
A SortableTest::it_sets_the_order_column_on_creation() 0 6 2 0 0 0
A SortableTest::it_will_respect_the_sort_when_creating_setting() 0 13 1 0 0 0
A SortableTrait::setNewOrderByCustomColumn() 0 4 1 0 0 0
? Sortable::setHighestOrderNumber() 0 1 ? 0 0 0
A SortableTest::it_can_set_a_new_order_by_custom_column_with_trashed_models() 16 16 2 0 0 0
A Test\TestCase::setUpSoftDeletes() 0 6 1 0 0 0
A SortableTest::it_can_set_a_new_order() 0 10 2 0 0 0
A SortableTest::it_can_swap_the_position_of_two_given_models() 13 13 1 0 0 0
A EloquentSortable\SortableTrait::swapOrder() 0 4 1 0 0 0
A SortableTest::it_can_get_the_highest_order_number() 0 4 1 0 0 0
A SortableTest::it_provides_an_ordered_trait() 0 8 2 0 0 0
A SortableTrait::determineOrderColumnName() 0 4 1 0 0 0