Percentage | Lines | ||
---|---|---|---|
anonymous//src/Manager.php$0 |
|
0 % | 2 |
CollectionRepository |
|
0 % | 206 |
UnitOfWorkRepository |
|
16 % | 136 |
DatabaseRepository |
|
47 % | 180 |
LazyLoad |
|
57 % | 37 |
GenericDataMapper |
|
79 % | 376 |
UnitOfWork |
|
80 % | 144 |
Manager |
|
93 % | 109 |
UnitOfWorkManager |
|
100 % | 36 |
CRAP Score | Lines | ||
---|---|---|---|
GenericDataMapper::toArray() | 116 | 43 | |
CollectionRepository::reject() | 90 | 11 | |
CollectionRepository::sort() | 72 | 12 | |
DatabaseRepository::search() | 42 | 21 | |
GenericDataMapper::populateRelations() | 18 | 50 | |
GenericDataMapper::updatePivots() | 18 | 40 | |
GenericDataMapper::updateRelations() | 14 | 32 | |
GenericDataMapper::deleteRelations() | 12 | 29 | |
DatabaseRepository::find() | 12 | 9 | |
UnitOfWork::save() | 10 | 30 | |