Code

Rating   Name Duplication Size Complexity Changes Bugs Features
B Comparable\Comparator::compare() 0 6 5 0 0 0
A Core\Comparable\Comparator::ensure() 0 3 4 0 0 0
A Tests\Units\ComparatorTests::testBy() 0 16 1 0 0 0
A Comparable\MultiComparator::__construct() 0 3 1 0 0 0
A ComparatorInterfaceTestCase::testCompare() 16 12 1 0 0 0
A Comparable\SelectorComparator::compare() 0 4 1 0 0 0
A ReverseComparatorTests::compareDataProvider() 0 4 2 0 0 0
A Tests\Fixtures\Value::compareTo() 0 9 3 1 0 0
A ComparatorInterfaceTestCase::testReverse() 0 11 1 0 0 0
A Core\Comparable\Comparator::from() 0 4 2 0 0 0
A ComparatorInterfaceTestCase::testOtherwise() 19 12 2 0 0 0
A CallbackComparatorTests::defaultConstructorArguments() 0 3 1 0 0 0
A SelectorComparatorTests::compareDataProvider() 0 5 1 1 0 1
A SelectorComparator::__construct() 0 3 1 0 0 0
A MultiComparatorTests::defaultConstructorArguments() 0 3 1 0 0 0