| Percentage | Lines | ||
|---|---|---|---|
| Callback |
|
50 % | 44 |
| EntityManager |
|
66 % | 295 |
| Season |
|
71 % | 162 |
| Entity |
|
71 % | 235 |
| TheSportsDbClient |
|
71 % | 55 |
| LeagueProxy |
|
73 % | 192 |
| Factory |
|
75 % | 68 |
| Proxy |
|
78 % | 145 |
| Repository |
|
82 % | 104 |
| Sport |
|
83 % | 101 |
| CRAP Score | Lines | ||
|---|---|---|---|
| EntityManager::initPropertyMap() | 30 | 37 | |
| LeagueProxy::loadSeasons() | 20 | 14 | |
| Proxy::get() | 20 | 17 | |
| Entity::transformDateTime() | 12 | 10 | |
| EntityManager::__construct() | 12 | 9 | |
| Proxy::raw() | 7 | 23 | |
| PropertyDefinition::sanitizeProperty() | 7 | 16 | |
| Proxy::update() | 7 | 14 | |
| Entity::raw() | 6 | 23 | |
| EntityManager::getPropertyMap() | 6 | 6 | |