Rating | Name | Duplication | Size | Complexity | CRAP | Changes | Bugs | Features |
---|---|---|---|---|---|---|---|---|
C | JsonApiFaker\Factory\ErrorFactory::toArray() | 0 | 18 | 9 | 9 | 1 | 0 | 0 |
B | Factory\DocumentFactory::toArray() | 0 | 17 | 8 | 8 | 0 | 0 | 0 |
A | ResourceObjectFactory::toArray() | 0 | 16 | 6 | 6 | 0 | 0 | 0 |
A | Testing\CheckMethods::checkAddSingle() | 0 | 14 | 5 | 5.06 | 0 | 0 | 0 |
A | Factory\BaseFactory::fakeMemberName() | 0 | 8 | 5 | 5 | 0 | 0 | 0 |
A | JsonApiFaker\Factory\HasData::setData() | 0 | 8 | 5 | 5 | 0 | 0 | 0 |
A | HasData::fakeCreateFactoryForData() | 0 | 13 | 3 | 3 | 1 | 0 | 0 |
A | Factory\BaseFactory::fakeValue() | 0 | 12 | 3 | 3 | 0 | 0 | 0 |
A | Factory\BaseFactory::fakeMembers() | 0 | 12 | 4 | 4 | 0 | 0 | 0 |
A | JsonApiFaker\Factory\HasData::fakeData() | 0 | 11 | 4 | 4 | 2 | 0 | 0 |
A | JsonApiFaker\Factory\HasLinks::getLinks() | 0 | 1 | 1 | 1 | 0 | 0 | 0 |
A | HasResourceType::getResourceType() | 0 | 1 | 1 | 1 | 0 | 0 | 0 |
A | JsonApiFaker\Factory\HasIdentifier::getId() | 0 | 1 | 1 | 1 | 0 | 0 | 0 |
A | Factory\CollectionFactory::fake() | 0 | 8 | 4 | 4 | 0 | 0 | 0 |
A | HasRelationships::fakeRelationships() | 0 | 6 | 2 | 2 | 1 | 0 | 0 |