Code

Rating   Name Duplication Size Complexity Changes Bugs Features
A SortableTest::it_will_respect_the_sort_when_creating_setting() 0 13 1 0 0 0
A SortableTest::it_can_swap_the_position_of_two_given_models() 13 13 1 0 0 0
A SortableTest::it_can_swap_itself_with_another_model() 13 13 1 0 0 0
A SortableTest::it_can_set_a_new_order_by_custom_column_from_collection() 10 10 2 0 0 0
A SortableTest::it_can_set_a_new_order() 0 10 2 0 0 0
A SortableTest::it_can_set_a_new_order_by_custom_column() 10 10 2 0 0 0
A SortableTest::it_can_set_a_new_order_from_collection() 0 10 2 0 0 0
A Test\TestCase::getEnvironmentSetUp() 0 9 1 0 0 0
A EloquentSortable\SortableTrait::buildSortQuery() 0 4 1 0 0 0
A Test\TestCase::getPackageProviders() 0 6 1 0 0 0
A SortableTest::it_will_determine_to_sort_when_creating_if_sort_when_creating_setting_does_not_exist() 0 8 1 0 0 0
A SortableTrait::bootSortableTrait() 0 8 3 0 0 0
A SortableTest::it_will_not_break_when_it_cant_move_the_order_up() 0 7 1 0 0 0
A SortableTrait::setNewOrderByCustomColumn() 0 4 1 0 0 0
A SortableTest::it_sets_the_order_column_on_creation() 0 6 2 0 0 0