Code

Rating   Name Duplication Size Complexity Changes Bugs Features
B PlayerCollection::getOrderedByHighestDouble() 0 14 11 1 0 0
B Player::getDominoWithMatchingTile() 0 14 8 0 0 0
B Arp\DominoGame\Value\Board::place() 0 21 7 1 0 0
B Arp\DominoGame\DominoGame::deal() 0 22 6 1 0 0
B DominoGame\DominoGame::takeTurns() 0 20 6 0 0 0
A Value\Player::getHighestDouble() 0 12 6 0 0 0
A DominoGame\DominoGame::takeTurn() 0 22 3 1 0 0
A PlayerCollectionTest::testGetOrderedByHighestDoubleWillReturnANewOrderedCollection() 0 20 4 0 0 0
A PlayerCollectionTest::testGetWithLowestHandValueWillReturnOrderedPlayerCollection() 0 14 3 0 0 0
A PlayerCollectionTest::testGetOrderedByLowestCount() 0 14 3 1 0 0
A Value\DominoCollection::pickRandom() 0 13 4 0 0 0
A BoardTest::testPlacementOfNonMatchingPieceThrowsInvalidArgumentException() 0 13 1 0 0 0
A DominoGameTest::testDealingProvidesTheCorrectNumberOfDominoesToEachPlayer() 0 13 3 1 0 0
A BoardTest::testLeftPlacedDominoIsAddedToTheBeginningOfANonEmptyDominoCollection() 0 13 3 0 0 0
A PlayerTest::testGetHighestDoubleWillReturnHighestDouble() 0 12 1 2 0 0