Percentage | Lines | ||
---|---|---|---|
AbstractConfigSchema |
|
0 % | 82 |
JSONLoader |
|
0 % | 72 |
LoaderFactory |
|
41 % | 96 |
AbstractLoader |
|
46 % | 71 |
ConfigFactory |
|
58 % | 228 |
PHPLoader |
|
61 % | 74 |
Config |
|
83 % | 186 |
AbstractConfig |
|
96 % | 220 |
ConfigTrait |
|
100 % | 162 |
Loader |
|
100 % | 18 |
CRAP Score | Lines | ||
---|---|---|---|
ConfigFactory::mergeFromFiles() | 42 | 32 | |
AbstractConfigSchema::getDefinedOptions() | 12 | 11 | |
AbstractConfigSchema::getDefaultOptions() | 12 | 11 | |
AbstractConfigSchema::getRequiredOptions() | 12 | 11 | |
Config::configureOptions() | 10 | 30 | |
ConfigFactory::createFromFile() | 7 | 37 | |
Config::__construct() | 6 | 44 | |
LoaderFactory::registerLoader() | 6 | 7 | |
JSONLoader::loadUri() | 6 | 17 | |
JSONLoader::validateUri() | 6 | 12 | |