Classes

Line coverage against cyclomatic complexity. Bubble size is the number of executable lines; hover for details, click to navigate.

0% 20% 40% 60% 80% 100% 0 20 40 60 80 Line Coverage (%) Cyclomatic Complexity BO\Zmsentities\Schema\Entity — Coverage: 89,3% | Lines: 122 | Complexity: 60 BO\Zmsentities\Schema\Validator — Coverage: 77,8% | Lines: 72 | Complexity: 27 BO\Zmsentities\Schema\Schema — Coverage: 98,5% | Lines: 65 | Complexity: 39 BO\Zmsentities\Schema\Loader — Coverage: 97,1% | Lines: 35 | Complexity: 10 BO\Zmsentities\Schema\Factory — Coverage: 94,1% | Lines: 17 | Complexity: 6 BO\Zmsentities\Schema\UnflattedArray — Coverage: 100,0% | Lines: 14 | Complexity: 7

Sorted by descending CRAP index.

Methods

Line coverage against cyclomatic complexity. Bubble size is the number of executable lines; hover for details, click to navigate.

0% 20% 40% 60% 80% 100% 0 2 4 6 8 Line Coverage (%) Cyclomatic Complexity BO\Zmsentities\Schema\Loader::asArray — Coverage: 95,2% | Lines: 21 | Complexity: 4 BO\Zmsentities\Schema\Validator::__construct — Coverage: 100,0% | Lines: 16 | Complexity: 5 BO\Zmsentities\Schema\Entity::addData — Coverage: 100,0% | Lines: 14 | Complexity: 6 BO\Zmsentities\Schema\Validator::loadSchemas — Coverage: 85,7% | Lines: 14 | Complexity: 5 BO\Zmsentities\Schema\Schema::toSanitizedValue — Coverage: 100,0% | Lines: 13 | Complexity: 7 BO\Zmsentities\Schema\Validator::extractErrors — Coverage: 100,0% | Lines: 13 | Complexity: 3 BO\Zmsentities\Schema\UnflattedArray::getUnflattenedArray — Coverage: 100,0% | Lines: 12 | Complexity: 5 BO\Zmsentities\Schema\Entity::jsonSerialize — Coverage: 100,0% | Lines: 11 | Complexity: 2 BO\Zmsentities\Schema\Factory::getEntityName — Coverage: 90,9% | Lines: 11 | Complexity: 3 BO\Zmsentities\Schema\Entity::readJsonSchema — Coverage: 66,7% | Lines: 9 | Complexity: 3 BO\Zmsentities\Schema\Entity::withResolveLevel — Coverage: 100,0% | Lines: 9 | Complexity: 5 BO\Zmsentities\Schema\Schema::toSanitizedList — Coverage: 100,0% | Lines: 9 | Complexity: 7 BO\Zmsentities\Schema\Loader::getSchemaPath — Coverage: 100,0% | Lines: 8 | Complexity: 1 BO\Zmsentities\Schema\Validator::getCustomMessage — Coverage: 100,0% | Lines: 8 | Complexity: 4 BO\Zmsentities\Schema\Validator::getTranslatedPointer — Coverage: 0,0% | Lines: 8 | Complexity: 4 BO\Zmsentities\Schema\Entity::testValid — Coverage: 100,0% | Lines: 7 | Complexity: 2 BO\Zmsentities\Schema\Validator::getErrors — Coverage: 85,7% | Lines: 7 | Complexity: 3 BO\Zmsentities\Schema\Entity::getValidator — Coverage: 100,0% | Lines: 6 | Complexity: 2 BO\Zmsentities\Schema\Entity::withCleanedUpFormData — Coverage: 100,0% | Lines: 6 | Complexity: 3 BO\Zmsentities\Schema\Loader::asJson — Coverage: 100,0% | Lines: 6 | Complexity: 5 BO\Zmsentities\Schema\Schema::withResolvedReferences — Coverage: 100,0% | Lines: 6 | Complexity: 2 BO\Zmsentities\Schema\Schema::toJsonObject — Coverage: 100,0% | Lines: 6 | Complexity: 3 BO\Zmsentities\Schema\Schema::getWithoutRefs — Coverage: 83,3% | Lines: 6 | Complexity: 4 BO\Zmsentities\Schema\Entity::getUnflattenedArray — Coverage: 100,0% | Lines: 5 | Complexity: 2 BO\Zmsentities\Schema\Entity::getExample — Coverage: 100,0% | Lines: 5 | Complexity: 2 BO\Zmsentities\Schema\Entity::withReference — Coverage: 100,0% | Lines: 5 | Complexity: 2 BO\Zmsentities\Schema\Schema::resolveKey — Coverage: 100,0% | Lines: 5 | Complexity: 4 BO\Zmsentities\Schema\Schema::resolveReferences — Coverage: 100,0% | Lines: 5 | Complexity: 3 BO\Zmsentities\Schema\Validator::getOriginPointer — Coverage: 0,0% | Lines: 5 | Complexity: 2 BO\Zmsentities\Schema\Entity::__construct — Coverage: 100,0% | Lines: 4 | Complexity: 2 BO\Zmsentities\Schema\Entity::exchangeArray — Coverage: 100,0% | Lines: 4 | Complexity: 1 BO\Zmsentities\Schema\Entity::getEntityName — Coverage: 100,0% | Lines: 4 | Complexity: 1 BO\Zmsentities\Schema\Factory::getEntity — Coverage: 100,0% | Lines: 4 | Complexity: 1 BO\Zmsentities\Schema\Schema::isItemEmpty — Coverage: 100,0% | Lines: 4 | Complexity: 3 BO\Zmsentities\Schema\Entity::__clone — Coverage: 100,0% | Lines: 3 | Complexity: 3 BO\Zmsentities\Schema\Entity::withData — Coverage: 0,0% | Lines: 3 | Complexity: 1 BO\Zmsentities\Schema\Entity::withProperty — Coverage: 0,0% | Lines: 3 | Complexity: 1 BO\Zmsentities\Schema\Schema::toSanitizedArray — Coverage: 100,0% | Lines: 3 | Complexity: 1 BO\Zmsentities\Schema\Entity::isValid — Coverage: 100,0% | Lines: 2 | Complexity: 1 BO\Zmsentities\Schema\Entity::createExample — Coverage: 100,0% | Lines: 2 | Complexity: 1 BO\Zmsentities\Schema\Entity::setJsonCompressLevel — Coverage: 100,0% | Lines: 2 | Complexity: 1 BO\Zmsentities\Schema\Entity::__toString — Coverage: 100,0% | Lines: 2 | Complexity: 2 BO\Zmsentities\Schema\Entity::getId — Coverage: 100,0% | Lines: 2 | Complexity: 3 BO\Zmsentities\Schema\Entity::setResolveLevel — Coverage: 100,0% | Lines: 2 | Complexity: 1 BO\Zmsentities\Schema\Schema::__construct — Coverage: 100,0% | Lines: 2 | Complexity: 1 BO\Zmsentities\Schema\Schema::setJsonObject — Coverage: 100,0% | Lines: 2 | Complexity: 1 BO\Zmsentities\Schema\Schema::setJsonCompressLevel — Coverage: 100,0% | Lines: 2 | Complexity: 1 BO\Zmsentities\Schema\Entity::offsetSet — Coverage: 100,0% | Lines: 1 | Complexity: 1 BO\Zmsentities\Schema\Entity::getDefaults — Coverage: 100,0% | Lines: 1 | Complexity: 1 BO\Zmsentities\Schema\Entity::__get — Coverage: 0,0% | Lines: 1 | Complexity: 1 BO\Zmsentities\Schema\Entity::__isset — Coverage: 0,0% | Lines: 1 | Complexity: 1 BO\Zmsentities\Schema\Entity::__set — Coverage: 0,0% | Lines: 1 | Complexity: 1 BO\Zmsentities\Schema\Entity::__unset — Coverage: 0,0% | Lines: 1 | Complexity: 1 BO\Zmsentities\Schema\Entity::hasId — Coverage: 100,0% | Lines: 1 | Complexity: 2 BO\Zmsentities\Schema\Entity::toProperty — Coverage: 100,0% | Lines: 1 | Complexity: 1 BO\Zmsentities\Schema\Entity::hasProperty — Coverage: 100,0% | Lines: 1 | Complexity: 1 BO\Zmsentities\Schema\Entity::getProperty — Coverage: 100,0% | Lines: 1 | Complexity: 1 BO\Zmsentities\Schema\Entity::withLessData — Coverage: 100,0% | Lines: 1 | Complexity: 1 BO\Zmsentities\Schema\Entity::getResolveLevel — Coverage: 100,0% | Lines: 1 | Complexity: 1 BO\Zmsentities\Schema\Factory::__construct — Coverage: 100,0% | Lines: 1 | Complexity: 1 BO\Zmsentities\Schema\Factory::create — Coverage: 100,0% | Lines: 1 | Complexity: 1 BO\Zmsentities\Schema\Schema::setDefaults — Coverage: 100,0% | Lines: 1 | Complexity: 1 BO\Zmsentities\Schema\Schema::withoutRefs — Coverage: 100,0% | Lines: 1 | Complexity: 1 BO\Zmsentities\Schema\UnflattedArray::__construct — Coverage: 100,0% | Lines: 1 | Complexity: 1 BO\Zmsentities\Schema\UnflattedArray::getValue — Coverage: 100,0% | Lines: 1 | Complexity: 1 BO\Zmsentities\Schema\Validator::isValid — Coverage: 100,0% | Lines: 1 | Complexity: 1

Sorted by descending CRAP index.

Method CRAP Coverage
BO\Zmsentities\Schema\Validator::getTranslatedPointer200,0%
BO\Zmsentities\Schema\Schema::toSanitizedValue7100,0%
BO\Zmsentities\Schema\Schema::toSanitizedList7100,0%
BO\Zmsentities\Schema\Entity::addData6100,0%
BO\Zmsentities\Schema\Validator::getOriginPointer60,0%
BO\Zmsentities\Schema\Validator::loadSchemas5.0785,7%
BO\Zmsentities\Schema\Entity::withResolveLevel5100,0%
BO\Zmsentities\Schema\Loader::asJson5100,0%
BO\Zmsentities\Schema\UnflattedArray::getUnflattenedArray5100,0%
BO\Zmsentities\Schema\Validator::__construct5100,0%
BO\Zmsentities\Schema\Schema::getWithoutRefs4.0783,3%
BO\Zmsentities\Schema\Loader::asArray495,2%
BO\Zmsentities\Schema\Schema::resolveKey4100,0%
BO\Zmsentities\Schema\Validator::getCustomMessage4100,0%
BO\Zmsentities\Schema\Entity::readJsonSchema3.3366,7%
BO\Zmsentities\Schema\Validator::getErrors3.0385,7%
BO\Zmsentities\Schema\Factory::getEntityName3.0190,9%
BO\Zmsentities\Schema\Entity::__clone3100,0%
BO\Zmsentities\Schema\Entity::getId3100,0%
BO\Zmsentities\Schema\Entity::withCleanedUpFormData3100,0%
BO\Zmsentities\Schema\Schema::resolveReferences3100,0%
BO\Zmsentities\Schema\Schema::toJsonObject3100,0%
BO\Zmsentities\Schema\Schema::isItemEmpty3100,0%
BO\Zmsentities\Schema\Validator::extractErrors3100,0%
BO\Zmsentities\Schema\Entity::__construct2100,0%
BO\Zmsentities\Schema\Entity::getUnflattenedArray2100,0%
BO\Zmsentities\Schema\Entity::getValidator2100,0%
BO\Zmsentities\Schema\Entity::testValid2100,0%
BO\Zmsentities\Schema\Entity::getExample2100,0%
BO\Zmsentities\Schema\Entity::jsonSerialize2100,0%
BO\Zmsentities\Schema\Entity::__toString2100,0%
BO\Zmsentities\Schema\Entity::__get20,0%
BO\Zmsentities\Schema\Entity::__isset20,0%
BO\Zmsentities\Schema\Entity::__set20,0%
BO\Zmsentities\Schema\Entity::__unset20,0%
BO\Zmsentities\Schema\Entity::withData20,0%
BO\Zmsentities\Schema\Entity::hasId2100,0%
BO\Zmsentities\Schema\Entity::withProperty20,0%
BO\Zmsentities\Schema\Entity::withReference2100,0%
BO\Zmsentities\Schema\Schema::withResolvedReferences2100,0%
BO\Zmsentities\Schema\Entity::exchangeArray1100,0%
BO\Zmsentities\Schema\Entity::offsetSet1100,0%
BO\Zmsentities\Schema\Entity::getDefaults1100,0%
BO\Zmsentities\Schema\Entity::isValid1100,0%
BO\Zmsentities\Schema\Entity::createExample1100,0%
BO\Zmsentities\Schema\Entity::getEntityName1100,0%
BO\Zmsentities\Schema\Entity::setJsonCompressLevel1100,0%
BO\Zmsentities\Schema\Entity::toProperty1100,0%
BO\Zmsentities\Schema\Entity::hasProperty1100,0%
BO\Zmsentities\Schema\Entity::getProperty1100,0%
BO\Zmsentities\Schema\Entity::withLessData1100,0%
BO\Zmsentities\Schema\Entity::getResolveLevel1100,0%
BO\Zmsentities\Schema\Entity::setResolveLevel1100,0%
BO\Zmsentities\Schema\Factory::__construct1100,0%
BO\Zmsentities\Schema\Factory::create1100,0%
BO\Zmsentities\Schema\Factory::getEntity1100,0%
BO\Zmsentities\Schema\Loader::getSchemaPath1100,0%
BO\Zmsentities\Schema\Schema::__construct1100,0%
BO\Zmsentities\Schema\Schema::setJsonObject1100,0%
BO\Zmsentities\Schema\Schema::setDefaults1100,0%
BO\Zmsentities\Schema\Schema::setJsonCompressLevel1100,0%
BO\Zmsentities\Schema\Schema::toSanitizedArray1100,0%
BO\Zmsentities\Schema\Schema::withoutRefs1100,0%
BO\Zmsentities\Schema\UnflattedArray::__construct1100,0%
BO\Zmsentities\Schema\UnflattedArray::getValue1100,0%
BO\Zmsentities\Schema\Validator::isValid1100,0%