Classes

Coverage Distribution

Complexity

Insufficient Coverage

Class Coverage
Cosray\Assets\Assets0%
Cosray\Assets\File0%
Cosray\Assets\Image0%
Cosray\Assets\Util0%
Cosray\Controller\Embed0%
Cosray\Controller\Media0%
Cosray\Controller\PostQuery0%
Cosray\Field\Decimal0%
Cosray\Field\Iframe0%
Cosray\Field\Schema\FulltextHandler0%
Cosray\Field\Textarea0%
Cosray\Schema\Fulltext0%
Cosray\Field\Capability\IsSearchable0%
Cosray\Controller\User3%
Cosray\Field\Youtube4%
Cosray\Field\Checkbox11%
Cosray\Field\Date11%
Cosray\Field\DateTime11%
Cosray\Field\Number11%
Cosray\Field\Radio11%
Cosray\Field\Time11%
Cosray\CollectionListMeta14%
Cosray\Value\Blocks16%
Cosray\Field\Video20%
Cosray\Validation\BlockValidator28%
Cosray\Value\Image31%
Cosray\Field\Option33%
Cosray\Controller\Nodes35%
Cosray\Controller\Page40%
Cosray\Value\Images42%
Cosray\Value\Files45%
Cosray\Locales47%
Cosray\Field\RichText50%
Cosray\Field\Field54%
Cosray\Field\Code57%
Cosray\Finder\Output\UrlPath58%
Cosray\Field\Capability\IsTranslatable58%
Cosray\App59%
Cosray\Field\Capability\IsSelectable60%
Cosray\Node\PathManager62%
Cosray\Controller\Auth65%
Cosray\Finder\MenuItem66%
Cosray\Permissions66%
Cosray\Value\Entry66%
Cosray\Value\RichText66%
Cosray\Field\Capability\IsDefaultable66%
Cosray\Finder\Output\Exists68%
Cosray\Node\Node68%
Cosray\Value\Decimal68%
Cosray\Value\File69%
Cosray\Finder\QueryCompiler69%
Cosray\Controller\Panel\Login69%
Cosray\Icons\Iconify69%
Cosray\Field\FieldHydrator70%
Cosray\Field\Schema\DescriptionHandler71%
Cosray\Field\Schema\HiddenHandler71%
Cosray\Field\Schema\ImmutableHandler71%
Cosray\Field\Schema\LabelHandler71%
Cosray\Field\Schema\OptionsHandler71%
Cosray\Field\Schema\RequiredHandler71%
Cosray\Field\Schema\RowsHandler71%
Cosray\Field\Schema\SyntaxHandler71%
Cosray\Field\Schema\ValidateHandler71%
Cosray\Field\Schema\WidthHandler71%
Cosray\Middleware\InitRequest71%
Cosray\Config72%
Cosray\Field\Image72%
Cosray\Node\Meta73%
Cosray\Node\Store75%
Cosray\Value\Entries76%
Cosray\Finder\OrderCompiler77%
Cosray\Value\Boolean77%
Cosray\Field\Capability\Blocks\IsResizable77%
Cosray\Value\Value78%
Cosray\Util\Html78%
Cosray\Column79%
Cosray\Field\Entries80%
Cosray\Field\Schema\AllowsHandler80%
Cosray\Field\Schema\ColumnsHandler80%
Cosray\JsonRenderer80%
Cosray\PanelRenderer80%
Cosray\Value\Option80%
Cosray\Controller\Panel\Panel83%
Cosray\Field\Schema\DefaultValueHandler83%
Cosray\Field\Schema\LimitHandler83%
Cosray\Locale83%
Cosray\Field\Capability\IsLimitable83%
Cosray\Controller\OldPanel83%
Cosray\Value\Text84%
Cosray\Icons\Local84%
Cosray\Node\Type85%
Cosray\Config\Icons85%
Cosray\Config\Panel85%
Cosray\Finder\Input\Token85%
Cosray\Validation\Validators85%
Cosray\Plugin86%
Cosray\Field\Schema\TranslateHandler86%
Cosray\Finder\Render86%
Cosray\Migration\NodeContentNormalizer86%
Cosray\Icons87%
Cosray\Auth87%
Cosray\Panel\CollectionPage87%
Cosray\Controller\Panel\Collection88%
Cosray\Field\Blocks88%
Cosray\MigrationFactory88%
Cosray\Node\Schema\IconHandler88%
Cosray\View\Boiler\Error\Handler88%
Cosray\Config\Env89%
Cosray\Node\RoutePathGenerator89%

Project Risks

Class Coverage Complexity CRAP
Cosray\Value\Blocks16.1%914989
Cosray\Controller\Media0.0%472256
Cosray\Assets\Image0.0%431892
Cosray\Value\Image31.6%42607
Cosray\Validation\BlockValidator28.6%33429
Cosray\Controller\User3.3%21420
Cosray\Value\Files45.5%34221
Cosray\Locales47.5%35211
Cosray\Finder\Output\UrlPath58.7%48210
Cosray\Controller\Embed0.0%13182
Cosray\Controller\Page40.0%25160
Cosray\Node\RoutePathGenerator89.6%130148
Cosray\Node\Store75.6%72147
Cosray\Panel\CollectionPage87.8%119144
Cosray\App59.1%39143
Cosray\Icons\Iconify69.9%50118
Cosray\Migration\NodeContentNormalizer87.0%87103
Cosray\Value\File69.1%4397
Cosray\Field\Entries80.0%5884
Cosray\Field\Youtube4.2%980
Cosray\Field\Field54.3%2478
Cosray\Controller\Nodes35.2%1467
Cosray\Node\PathManager62.1%2766
Cosray\Assets\Util0.0%756
Cosray\Controller\OldPanel83.7%4756
Cosray\Node\Node68.0%2853
Cosray\Controller\Panel\Collection88.9%4851
Cosray\Icons\Local84.9%4450
Cosray\Controller\Panel\Login69.9%2849
Cosray\Field\Capability\IsTranslatable58.8%2047
Cosray\Auth87.6%4245
Cosray\Column79.0%3444
Cosray\Controller\Panel\Panel83.3%3743
Cosray\Assets\File0.0%642
Cosray\Value\Value78.6%3140
Cosray\Plugin86.3%3538
Cosray\Finder\MenuItem66.7%2034
Cosray\Field\Code57.1%1326
Cosray\Value\Entries76.5%2025
Cosray\View\Boiler\Error\Handler88.9%2525
Cosray\Controller\Auth65.7%1524
Cosray\Value\Entry66.7%1421
Cosray\Field\Decimal0.0%420
Cosray\Finder\Output\Exists68.0%1420
Cosray\Value\Decimal68.2%1420
Cosray\Node\Meta73.3%1519
Cosray\Config72.0%1316
Cosray\Field\Blocks88.9%1616
Cosray\Finder\OrderCompiler77.1%1416
Cosray\Field\Checkbox11.1%415
Cosray\Field\Date11.1%415
Cosray\Field\DateTime11.1%415
Cosray\Field\FieldHydrator70.0%1215
Cosray\Field\Number11.1%415
Cosray\Field\Radio11.1%415
Cosray\Field\Time11.1%415
Cosray\Icons87.5%1313
Cosray\Node\Type85.0%1313
Cosray\Field\Option33.3%512
Cosray\Field\Schema\FulltextHandler0.0%312
Cosray\Field\Video20.0%412
Cosray\Finder\Input\Token85.7%1010
Cosray\Value\Text84.6%1010
Cosray\Field\Capability\IsLimitable83.3%1010
Cosray\Finder\QueryCompiler69.2%89
Cosray\Util\Html78.8%99
Cosray\Value\Images42.9%59
Cosray\Config\Env89.5%88
Cosray\Field\Image72.7%77
Cosray\Finder\Render87.0%77
Cosray\JsonRenderer80.0%77
Cosray\PanelRenderer80.0%77
Cosray\Field\Capability\Blocks\IsResizable77.8%77
Cosray\Controller\PostQuery0.0%26
Cosray\Field\Schema\TranslateHandler86.7%66
Cosray\Locale83.3%66
Cosray\Value\Boolean77.8%66
Cosray\Value\Option80.0%66
Cosray\Config\Icons85.7%55
Cosray\Config\Panel85.7%55
Cosray\Middleware\InitRequest71.4%55
Cosray\Validation\Validators85.7%55
Cosray\Field\Capability\IsSelectable60.0%45
Cosray\Field\Schema\AllowsHandler80.0%44
Cosray\Field\Schema\ColumnsHandler80.0%44
Cosray\Field\Schema\DefaultValueHandler83.3%44
Cosray\Field\Schema\DescriptionHandler71.4%44
Cosray\Field\Schema\HiddenHandler71.4%44
Cosray\Field\Schema\ImmutableHandler71.4%44
Cosray\Field\Schema\LabelHandler71.4%44
Cosray\Field\Schema\LimitHandler83.3%44
Cosray\Field\Schema\OptionsHandler71.4%44
Cosray\Field\Schema\RequiredHandler71.4%44
Cosray\Field\Schema\RowsHandler71.4%44
Cosray\Field\Schema\SyntaxHandler71.4%44
Cosray\Field\Schema\ValidateHandler71.4%44
Cosray\Field\Schema\WidthHandler71.4%44
Cosray\MigrationFactory88.9%33
Cosray\Node\Schema\IconHandler88.9%22

Methods

Coverage Distribution

Complexity

Insufficient Coverage

Method Coverage
collection0%
icons0%
routes0%
addGroup0%
group0%
staticRoute0%
before0%
beforeHandlers0%
after0%
afterHandlers0%
middleware0%
register0%
__call0%
__construct0%
image0%
file0%
__construct0%
path0%
publicPath0%
url0%
bust0%
__construct0%
path0%
publicPath0%
url0%
isResizable0%
resize0%
delete0%
get0%
createCacheFile0%
getCacheFilePath0%
isAnimatedGif0%
menu0%
children0%
listing0%
humanizeClassName0%
array0%
has0%
printAll0%
string0%
me0%
invalidateToken0%
logout0%
__construct0%
node0%
create0%
bootstrap0%
redirect0%
panelBasePath0%
embedPath0%
embedCreatePath0%
__construct0%
upload0%
image0%
file0%
validateUploadedFile0%
sendFile0%
getAssets0%
blueprint0%
preview0%
jsonRead0%
handleFormPost0%
logout0%
renderIcon0%
__construct0%
profile0%
saveProfile0%
save0%
create0%
__toString0%
structure0%
shape0%
structure0%
shape0%
structure0%
shape0%
value0%
structure0%
shape0%
__toString0%
isset0%
getFileStructure0%
getSimpleStructure0%
scalarValue0%
scalarValueMap0%
listValueMap0%
getFields0%
schemaRegistry0%
supportedTranslateModes0%
structure0%
value0%
structure0%
structure0%
structure0%
shape0%
structure0%
shape0%
structure0%
shape0%
structure0%
properties0%
apply0%
properties0%
structure0%
structure0%
shape0%
value0%
structure0%
structure0%
shape0%
rewind0%
current0%
key0%
next0%
valid0%
setChildren0%
find0%
type0%
scalarComparison0%
translateKeyword0%
request0%
replace0%
domain0%
setNegotiator0%
fromBrowser0%
all0%
path0%
__call0%
path0%
requiredSlug0%
delete0%
back0%
replace0%
add0%
synchronizeNodes0%
__construct0%
byUid0%
reviewMedia0%
reviewYoutube0%
addError0%
__toString0%
json0%
image0%
images0%
render0%
renderValue0%
getValueObject0%
renderImage0%
renderImages0%
blockValue0%
mediaFieldData0%
mediaText0%
json0%
__toString0%
json0%
__toString0%
render0%
__toString0%
json0%
isset0%
render0%
__toString0%
url0%
publicPath0%
mimetype0%
unwrap0%
json0%
count0%
getFile0%
key0%
json0%
len0%
effectiveFiles0%
hasFile0%
__toString0%
lazy0%
nonlazy0%
height0%
longSide0%
shortSide0%
fit0%
resize0%
crop0%
freecrop0%
link0%
getImage0%
__toString0%
json0%
__toString0%
__toString0%
strip0%
json0%
zxx0%
getAssets0%
getDefault0%
fulltext0%
getFulltextWeight0%
add0%
isSymmetricallyTranslated0%
getTranslatableFileStructure0%
localeListMap0%
isList0%
columnSort18%
redirectIfExists20%
logout22%
localeIds25%
routeNeedsHandle25%
get28%
reviewItems30%
saveUrlPaths32%
orderedFields33%
condition33%
blockValueMap33%
entryValueMap33%
get33%
isComparison40%
queryValue40%
ensureTypeExists40%
store42%
reviewEntryValues47%
shape47%
redirect50%
requireAllowedEntryTypes50%
getRegex50%
decodeContent50%
resolveDeletable50%
ensureRouteHandle50%
excerpt50%
isset50%
files50%
validate55%
status55%
files57%
nodeStatus57%
persistHandle59%
structure60%
get60%
displayValue60%
customRenderer60%
authenticate60%
fieldPath61%
localeClause61%
excerpt62%
intParam63%
intParam63%
allow64%
login65%
getValue65%
saveNode66%
entryFieldsFor66%
properties66%
properties66%
properties66%
properties66%
properties66%
properties66%
properties66%
properties66%
properties66%
properties66%
peekNext66%
failed66%
__construct66%
appendAttribute66%
getDefault66%
negotiate66%
__get66%
items66%
arrayFrom66%
arrayFrom66%
prepareData66%
url66%
publicPath66%
limit66%
options66%
fromRequest68%
resolveParentUid69%
sanitizedNext71%
fieldClass71%
translated71%
joinStyles71%
process71%
selectPicture71%
save71%
handle71%
columns71%
catchall72%
intParam72%
stringParam75%
parentNode75%
stringParam75%
parentNode75%
stringParam75%
apply75%
apply75%
apply75%
apply75%
apply75%
apply75%
apply75%
apply75%
apply75%
apply75%
apply75%
apply75%
image75%
handle75%
blockList75%
mediaList75%
entryList75%
prepareUrlPath75%
hasParent75%
parentByNode75%
parentByUid75%
normalizePath75%
isFieldProperty75%
has75%
node75%
balanceTags75%
localize75%
currency75%
initFields75%
formData76%
literal77%
__toString77%
cacheDir77%
get77%
getJsonFieldExpression78%
withPostgresqlObjectPrefix80%
tristateValue80%
dispatch80%
logo80%
finalizeEntryValue80%
apply80%
typesCondition80%
normalize80%
fieldType80%
generateFromRoute80%
nodeId80%
isInt80%
renderer80%
__construct80%
minItems80%
maxItems80%
__construct80%
__construct80%
prepareEntries80%
__get80%
hydrate81%
transformList81%
normalizePaths81%
resolveParent81%
structure82%
forgetRemembered83%
getSessionTokenHash83%
strings83%
strings83%
strings83%
emptyValueMap83%
properties83%
fieldExpression83%
get83%
cacheFile83%
mergeStyle83%
normalize83%
isLocaleMap83%
order83%
create83%
localeValueMap83%
normalizeLocaleIds83%
split84%
rememberCookieOptions84%
startSession85%
rememberUser85%
childBlueprints85%
prefix85%
properties85%
childrenOf85%
icon85%
collection85%
compile86%
title86%
search86%
icon87%
panelDevOrigin87%
properties87%
apply87%
localeIds87%
loginUrl87%
entry87%
create87%
createUrlPaths87%
children87%
icon87%
hasImage87%
node88%
materializeLists88%
openParam88%
canCreate88%
openParam88%
buildEntryFields88%
properties88%
entriesField88%
mediaField88%
children88%
resolve88%
resolveTitle88%
localize88%
handle88%
syntaxes88%
serve89%
process89%

Project Risks

Method Coverage Complexity CRAP
image0.0%23552
renderValue0.0%17306
saveProfile0.0%15240
images0.0%14210
getCacheFilePath0.0%13182
validateUploadedFile0.0%12156
condition33.3%18114
createCacheFile0.0%10110
fromBrowser0.0%990
crop0.0%990
reviewItems30.4%1369
columnSort18.8%1063
get34.0%1361
isAnimatedGif0.0%756
shape0.0%756
isResizable0.0%642
renderIcon0.0%642
request0.0%642
reviewYoutube0.0%642
blockValue0.0%642
mediaText0.0%642
__call0.0%530
resize0.0%530
getValue65.8%1830
bootstrap0.0%530
path0.0%530
reviewMedia0.0%530
hasFile0.0%530
saveUrlPaths32.3%827
displayValue60.0%1426
routeNeedsHandle25.0%621
sendFile0.0%420
listValueMap0.0%420
path0.0%420
requiredSlug0.0%420
synchronizeNodes0.0%420
image0.0%420
renderImages0.0%420
effectiveFiles0.0%420
localeListMap0.0%420
files50.0%919
fieldPath61.1%1118
redirectIfExists20.0%517
reviewEntryValues47.4%817
isset50.0%816
prepareData66.7%1115
files57.1%915
shape47.6%714
fromRequest68.4%1114
status55.6%813
upload0.0%312
handleFormPost0.0%312
nodeStatus57.9%812
orderedFields33.3%512
scalarValueMap0.0%312
translateKeyword0.0%312
render0.0%312
freecrop0.0%312
logout22.2%411
localeClause61.5%811
decodeContent50.0%610
intParam63.6%79
intParam63.6%79
materializeLists88.6%99
cacheDir77.8%99
create83.3%99
catchall72.2%78
sanitizedNext71.4%78
structure82.6%88
getJsonFieldExpression78.3%88
blockValueMap33.3%48
entryValueMap33.3%48
save71.4%78
childBlueprints85.7%77
node88.0%77
intParam72.7%77
serve89.5%77
formData76.9%77
panelDevOrigin87.5%77
allow64.3%67
title86.7%77
publicPath0.0%26
__construct0.0%26
path0.0%26
publicPath0.0%26
get28.6%36
string0.0%26
invalidateToken0.0%26
redirect0.0%26
file0.0%26
getAssets0.0%26
blueprint0.0%26
jsonRead0.0%26
__construct0.0%26
profile0.0%26
shape0.0%26
shape0.0%26
shape0.0%26
shape0.0%26
hydrate81.2%66
getFields0.0%26
structure0.0%26
structure0.0%26
shape0.0%26
shape0.0%26
shape0.0%26
apply0.0%26
shape0.0%26
structure0.0%26
transformList81.8%66
search87.0%66
typesCondition80.0%66
compile86.7%66
localeIds25.0%36
scalarComparison0.0%26
icon85.7%66
store42.9%46
normalizePaths81.8%66
isLocaleMap83.3%66
get77.8%66
delete0.0%26
persistHandle59.1%56
addError0.0%26
renderImage0.0%26
__toString0.0%26
render0.0%26
prepareEntries80.0%66
render0.0%26
url0.0%26
height0.0%26
longSide0.0%26
shortSide0.0%26
fit0.0%26
resize0.0%26
getImage0.0%26
__toString0.0%26
zxx0.0%26
getAssets0.0%26
customRenderer60.0%56
withPostgresqlObjectPrefix80.0%55
openParam88.9%55
openParam88.9%55
structure60.0%45
finalizeEntryValue80.0%55
literal77.8%55
split84.6%55
appendAttribute66.7%55
process71.4%55
fieldType80.0%55
selectPicture71.4%55
entry87.5%55
children88.9%55
createUrlPaths87.5%55
generateFromRoute80.0%55
resolveParentUid69.2%55
get60.0%45
children87.5%55
columns71.4%55
syntaxes88.9%55
localeValueMap83.3%55
strings83.3%44
strings83.3%44
strings83.3%44
dispatch80.0%44
authenticate60.6%44
buildEntryFields88.9%44
fieldExpression83.3%44
getRegex50.0%34
isComparison40.0%34
queryValue40.0%34
handle75.0%44
process89.5%44
blockList75.0%44
mediaList75.0%44
entryList75.0%44
__get66.7%44
nodeId80.0%44
resolveParent81.8%44
ensureRouteHandle50.0%34
isInt80.0%44
handle71.4%44
balanceTags75.0%44
hasImage87.5%44
excerpt62.5%44
limit66.7%44
startSession85.7%33
forgetRemembered83.3%33
getSessionTokenHash83.3%33
login65.4%33
tristateValue80.0%33
canCreate88.9%33
logo80.0%33
emptyValueMap83.3%33
fieldClass71.4%33
apply80.0%33
apply87.5%33
properties85.7%33
translated71.4%33
localeIds87.5%33
normalize80.0%33
__toString77.8%33
cacheFile83.3%33
mergeStyle83.3%33
joinStyles71.4%33
loginUrl87.5%33
normalize83.3%33
hasParent75.0%33
normalizePath75.0%33
isFieldProperty75.0%33
order83.3%33
has75.0%33
arrayFrom66.7%33
arrayFrom66.7%33
collection85.7%33
rememberCookieOptions84.6%33
__get80.0%33
normalizeLocaleIds83.3%33
rememberUser85.7%22
icon87.5%22
prefix85.7%22
saveNode66.7%22
stringParam75.0%22
parentNode75.0%22
stringParam75.0%22
parentNode75.0%22
stringParam75.0%22
redirect50.0%22
entryFieldsFor66.7%22
requireAllowedEntryTypes50.0%22
apply75.0%22
properties83.3%22
apply75.0%22
properties66.7%22
apply75.0%22
properties66.7%22
properties88.9%22
apply75.0%22
properties66.7%22
apply75.0%22
properties66.7%22
apply75.0%22
properties87.5%22
apply75.0%22
properties66.7%22
apply75.0%22
properties66.7%22
apply75.0%22
properties66.7%22
apply75.0%22
properties66.7%22
apply75.0%22
properties66.7%22
apply75.0%22
properties66.7%22
image75.0%22
childrenOf85.7%22
get83.3%22
peekNext66.7%22
failed66.7%22
__construct66.7%22
getDefault66.7%22
negotiate66.7%22
entriesField88.9%22
mediaField88.9%22
create87.5%22
prepareUrlPath75.0%22
parentByNode75.0%22
parentByUid75.0%22
resolve88.9%22
resolveTitle88.9%22
resolveDeletable50.0%22
validate55.6%22
ensureTypeExists40.0%22
items66.7%22
node75.0%22
renderer80.0%22
__construct80.0%22
icon87.5%22
excerpt50.0%22
minItems80.0%22
maxItems80.0%22
__construct80.0%22
localize88.9%22
__construct80.0%22
localize75.0%22
currency75.0%22
initFields75.0%22
url66.7%22
publicPath66.7%22
handle88.9%22
options66.7%22