Rating | Name | Duplication | Size | Complexity | CRAP | Changes | Bugs | Features |
---|---|---|---|---|---|---|---|---|
C | FrameworkSearchBundle\Helper\Search::sortResults() | 0 | 18 | 7 | 7 | 0 | 0 | 0 |
B | IndexItem::createMultipleObjectsBasedOnProperties() | 0 | 16 | 5 | 5 | 0 | 0 | 0 |
B | DefaultController::indexAction() | 0 | 27 | 4 | 20 | 3 | 0 | 0 |
B | Entity\IndexItemRepository::search() | 0 | 16 | 4 | 20 | 0 | 0 | 0 |
B | SearchTest::testSearchCorrectSorting() | 0 | 16 | 1 | ? | 2 | 0 | 0 |
B | SearchTest::testSuccesfullSearch() | 0 | 14 | 1 | ? | 3 | 0 | 0 |
B | IndexItemTest::testCreateMultipleObjectsBasedOnProperties() | 0 | 19 | 2 | ? | 1 | 0 | 0 |
A | SearchTest::testSearchWrongSorting() | 0 | 13 | 1 | ? | 2 | 0 | 0 |
A | IndexItemTest::testCreateMultipleObjectsBasedOnPropertiesFromObject() | 0 | 13 | 2 | ? | 1 | 0 | 0 |
A | FrameworkSearchBundle\Helper\Search::search() | 0 | 11 | 2 | 2 | 0 | 0 | 0 |
A | FrameworkSearchBundle\Entity\IndexItem::setValue() | 0 | 3 | 1 | 1 | 0 | 0 | 0 |
A | SearchEvent::getFoundIdsForClass() | 0 | 4 | 2 | 6 | 0 | 0 | 0 |
A | Helper\SearchTest::getRepositoryMock() | 0 | 6 | 1 | ? | 1 | 0 | 0 |
A | IndexItemTest::testGettersAndSetters() | 0 | 10 | 1 | ? | 0 | 0 | 0 |
A | FrameworkSearchBundle\Entity\IndexItem::setOtherId() | 0 | 3 | 1 | 1 | 0 | 0 | 0 |