| Percentage | Lines | ||
|---|---|---|---|
| RuntimeConstant |
|
80 % | 28 |
| VisibilityTrait |
|
82 % | 45 |
| RuntimeMethod |
|
85 % | 121 |
| RuntimeClass |
|
85 % | 276 |
| RuntimeArgument |
|
85 % | 73 |
| ReflectionApi |
|
88 % | 143 |
| RuntimeProperty |
|
92 % | 35 |
| AbstractTrait |
|
100 % | 20 |
| DefaultValueTrait |
|
100 % | 23 |
| FinalTrait |
|
100 % | 20 |
| CRAP Score | Lines | ||
|---|---|---|---|
| RuntimeClass::use() | 12 | 12 | |
| RuntimeMethod::generateCode() | 12 | 51 | |
| RuntimeClass::generateCode() | 11 | 50 | |
| RuntimeArgument::generateCode() | 7 | 24 | |
| RuntimeClass::load() | 4 | 25 | |
| RuntimeMethod::setReturnType() | 4 | 10 | |
| ReflectionApi::reflectFunction() | 4 | 12 | |
| ReflectionApi::createInstance() | 4 | 15 | |
| RuntimeClass::__construct() | 4 | 13 | |
| RuntimeClass::implements() | 3 | 12 | |