| Percentage | Lines | ||
|---|---|---|---|
| Generic |
|
0 % | 53 |
| Generic |
|
0 % | 13 |
| RecordTrait |
|
0 % | 5 |
| RecordsTrait |
|
0 % | 9 |
| RecordTrait |
|
0 % | 5 |
| RecordsTrait |
|
0 % | 9 |
| Generic |
|
19 % | 194 |
| HasManagerTrait |
|
43 % | 33 |
| HasNameTrait |
|
87 % | 55 |
| RecordsTrait |
|
91 % | 92 |
| CRAP Score | Lines | ||
|---|---|---|---|
| Generic::getIconHTML() | 30 | 14 | |
| HasNameTrait::generateNameFromClass() | 20 | 11 | |
| Generic::getColorCSS() | 12 | 11 | |
| Generic::getNextStatuses() | 6 | 7 | |
| Generic::initNextStatuses() | 6 | 8 | |
| Generic::update() | 6 | 23 | |
| Generic::__get() | 6 | 8 | |
| RecordTrait::setSmartProperty() | 4 | 19 | |
| Generic::getLabelSlug() | 2 | 3 | |
| Generic::needsAssessment() | 2 | 3 | |