Classes

Coverage Distribution

Complexity

Insufficient Coverage

Class Coverage
Cosray\Category0%
Cosray\Collection\Schema\PermissionHandler0%
Cosray\Controller\GetQuery0%
Cosray\Controller\Panel\Preferences0%
Cosray\Controller\PostQuery0%
Cosray\Field\Schema\FulltextHandler0%
Cosray\JsonRenderer0%
Cosray\Schema\Fulltext0%
Cosray\Validation\TokenLogin0%
Cosray\Field\Capability\IsSearchable0%
Cosray\Richtext\OwnerResolver6%
Cosray\Field\Decimal10%
Cosray\CollectionListMeta14%
Cosray\Field\DateTime20%
Cosray\Field\Number20%
Cosray\Field\Radio20%
Cosray\NavLink29%
Cosray\Node\PathManager42%
Cosray\Value\Images42%
Cosray\Field\Code52%
Cosray\Util\Html54%
Cosray\Locales56%
Cosray\App57%
Cosray\Finder\Output\UrlPath58%
Cosray\Field\Capability\IsSelectable60%
Cosray\Assets\Util62%
Cosray\Exception\IngestError65%
Cosray\Console\Commands65%
Cosray\Collection\Schema66%
Cosray\Panel\Extras66%
Cosray\Permissions66%
Cosray\Field\Capability\IsDefaultable66%
Cosray\Finder\Output\Exists68%
Cosray\Value\Decimal68%
Cosray\Finder\QueryCompiler69%
Cosray\Node\Wrapper69%
Cosray\Controller\Panel\Login70%
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\RowspanHandler71%
Cosray\Field\Schema\SyntaxHandler71%
Cosray\Field\Schema\ValidateHandler71%
Cosray\Field\Schema\WidthHandler71%
Cosray\Node\UrlPaths71%
Cosray\Assets\Image72%
Cosray\Node\Meta73%
Cosray\Node\Store73%
Cosray\Console\Runtime75%
Cosray\Panel\NormalizesInput75%
Cosray\Field\FieldHydrator76%
Cosray\Finder\OrderCompiler77%
Cosray\Node\FieldOwner77%
Cosray\Value\Boolean77%
Cosray\Controller\Node79%
Cosray\Config80%
Cosray\Navigation80%
Cosray\PanelRenderer80%
Cosray\Value\Option80%
Cosray\Plugin\Registrar80%
Cosray\Controller\Panel\Editor81%
Cosray\Collection\Ref81%
Cosray\Column81%
Cosray\Finder\Render82%
Cosray\Panel\CollectionTable83%
Cosray\Field\Schema\DefaultValueHandler83%
Cosray\Field\Schema\LimitHandler83%
Cosray\Field\Video83%
Cosray\Field\Capability\IsLimitable83%
Cosray\Value\Files84%
Cosray\User84%
Cosray\Value\Image84%
Cosray\Node\RoutePathGenerator84%
Cosray\Finder\MenuItem84%
Cosray\Icons\Local84%
Cosray\Node\Type85%
Cosray\Node\Duplicator85%
Cosray\Users85%
Cosray\Config\Icons85%
Cosray\Config\Panel85%
Cosray\Field\Schema\LinesHandler85%
Cosray\Field\Schema\PlaceholderHandler85%
Cosray\Middleware\InitRequest85%
Cosray\Node\Draft85%
Cosray\Validation\Validators85%
Cosray\Value\Value86%
Cosray\Auth86%
Cosray\Field\Schema\TranslateHandler86%
Cosray\I18n\SchemaScanner86%
Cosray\Richtext\Validator86%
Cosray\Icons\Iconify87%
Cosray\Controller\Panel\Panel87%
Cosray\Field\Entries87%
Cosray\Controller\Media87%
Cosray\Config\Env88%
Cosray\Collection\Schema\IconHandler88%
Cosray\MigrationFactory88%
Cosray\Node\Schema\IconHandler88%
Cosray\Value\Entries89%
Cosray\Bootstrap89%

Project Risks

Class Coverage Complexity CRAP
Cosray\Node\Store73.8%99274
Cosray\Node\RoutePathGenerator84.6%153239
Cosray\Controller\Panel\Preferences0.0%14210
Cosray\Finder\Output\UrlPath58.7%48210
Cosray\Controller\Panel\Editor81.1%116207
Cosray\Locales56.6%43194
Cosray\Node\PathManager42.0%27168
Cosray\App58.0%40158
Cosray\Richtext\Validator86.9%123157
Cosray\Panel\CollectionTable83.2%82114
Cosray\Richtext\OwnerResolver6.7%11109
Cosray\Controller\Media87.9%8192
Cosray\Bootstrap89.9%6670
Cosray\Controller\Panel\Panel87.6%6370
Cosray\Node\Wrapper69.8%3362
Cosray\JsonRenderer0.0%756
Cosray\Icons\Iconify87.4%5055
Cosray\Finder\MenuItem84.6%4451
Cosray\Icons\Local84.9%4450
Cosray\Assets\Image72.1%3049
Cosray\Auth86.6%4246
Cosray\Column81.8%3745
Cosray\Field\FieldHydrator76.5%2838
Cosray\Value\Files84.1%3438
Cosray\Controller\Panel\Login70.3%2234
Cosray\Field\Code52.6%1434
Cosray\Node\Duplicator85.1%3134
Cosray\Field\Entries87.9%3132
Cosray\Console\Commands65.7%1831
Cosray\NavLink29.4%830
Cosray\Value\Value86.5%2829
Cosray\I18n\SchemaScanner86.7%2728
Cosray\Controller\Node79.7%2023
Cosray\Field\Decimal10.0%523
Cosray\Config\Env88.0%2020
Cosray\Controller\GetQuery0.0%420
Cosray\Finder\Output\Exists68.0%1420
Cosray\Value\Decimal68.2%1420
Cosray\Node\Meta73.3%1519
Cosray\Field\DateTime20.0%517
Cosray\Field\Number20.0%517
Cosray\Field\Radio20.0%517
Cosray\Value\Entries89.7%1717
Cosray\Finder\OrderCompiler77.1%1416
Cosray\Navigation80.0%1516
Cosray\Util\Html54.5%916
Cosray\Assets\Util63.0%1015
Cosray\Collection\Schema66.7%1115
Cosray\Users85.2%1515
Cosray\Config80.0%1314
Cosray\Node\Type85.0%1313
Cosray\Field\Schema\FulltextHandler0.0%312
Cosray\Node\Draft85.7%1111
Cosray\Value\Image84.2%1111
Cosray\Field\Capability\IsLimitable83.3%1010
Cosray\Finder\QueryCompiler69.2%89
Cosray\Value\Images42.9%59
Cosray\Finder\Render82.4%77
Cosray\PanelRenderer80.0%77
Cosray\Panel\NormalizesInput75.0%77
Cosray\Collection\Schema\PermissionHandler0.0%26
Cosray\Console\Runtime75.0%66
Cosray\Controller\PostQuery0.0%26
Cosray\Field\Schema\TranslateHandler86.7%66
Cosray\Value\Boolean77.8%66
Cosray\Value\Option80.0%66
Cosray\Collection\Ref81.8%55
Cosray\Config\Icons85.7%55
Cosray\Config\Panel85.7%55
Cosray\Field\Video83.3%55
Cosray\Middleware\InitRequest85.7%55
Cosray\Validation\Validators85.7%55
Cosray\Field\Capability\IsSelectable60.0%45
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\LinesHandler85.7%44
Cosray\Field\Schema\OptionsHandler71.4%44
Cosray\Field\Schema\PlaceholderHandler85.7%44
Cosray\Field\Schema\RequiredHandler71.4%44
Cosray\Field\Schema\RowspanHandler71.4%44
Cosray\Field\Schema\SyntaxHandler71.4%44
Cosray\Field\Schema\ValidateHandler71.4%44
Cosray\Field\Schema\WidthHandler71.4%44
Cosray\Node\UrlPaths71.4%44
Cosray\MigrationFactory88.9%33
Cosray\Collection\Schema\IconHandler88.9%22
Cosray\Node\Schema\IconHandler88.9%22

Methods

Coverage Distribution

Complexity

Insufficient Coverage

Method Coverage
plugin0%
collection0%
icons0%
routes0%
addGroup0%
group0%
staticRoute0%
before0%
beforeHandlers0%
after0%
afterHandlers0%
middleware0%
register0%
__call0%
nodeSchemas0%
fieldServices0%
collectionSchemas0%
nodeClasses0%
synchronizeNodes0%
__construct0%
children0%
header0%
children0%
__isset0%
properties0%
resolve0%
array0%
has0%
printAll0%
string0%
i18n0%
runner0%
__destruct0%
__construct0%
tristateValue0%
sendFile0%
paths0%
previewPath0%
logout0%
panelDevHost0%
__construct0%
locale0%
available0%
refererPath0%
redirect0%
__construct0%
tooLarge0%
unsafeSvg0%
hidden0%
structure0%
shape0%
value0%
structure0%
shape0%
rowKind0%
scalarValue0%
getFields0%
supportedTranslateModes0%
structure0%
structure0%
shape0%
structure0%
shape0%
apply0%
properties0%
rewind0%
current0%
key0%
next0%
valid0%
setChildren0%
find0%
type0%
scalarComparison0%
translateKeyword0%
fromApp0%
walk0%
__construct0%
handle0%
response0%
replace0%
domain0%
key0%
setNegotiator0%
fromBrowser0%
slug0%
children0%
icon0%
hidden0%
uid0%
paths0%
all0%
path0%
saveUrlPaths0%
parentByUid0%
resolveParent0%
__call0%
addJs0%
replace0%
add0%
nodeSchema0%
collectionSchema0%
collection0%
js0%
asset0%
nodePath0%
localize0%
__construct0%
array0%
byUid0%
savePanelLocale0%
sanitize0%
__construct0%
validate0%
json0%
__toString0%
json0%
isset0%
__toString0%
json0%
count0%
key0%
len0%
__toString0%
link0%
__toString0%
json0%
__toString0%
unwrap0%
json0%
strip0%
zxx0%
getDefault0%
fulltext0%
getFulltextWeight0%
add0%
columnSort18%
redirectIfExists20%
logout22%
localeIds25%
routeNeedsHandle25%
condition33%
__toString33%
ancestor33%
panelDevOrigin37%
__get40%
isComparison40%
queryValue40%
isAnimatedGif41%
shape41%
store42%
updateItem47%
actor50%
actor50%
redirect50%
requireAllowedEntryTypes50%
localizeOption50%
getRegex50%
decodeContent50%
resolveDeletable50%
assertUidUnchanged50%
ensureRouteHandle50%
__get50%
__isset50%
transaction54%
structure55%
status55%
completeGeneratedPaths56%
isResizable57%
get57%
applySettings57%
nodeStatus57%
save58%
persistHandle59%
createCacheFile59%
fieldFor60%
nodeId60%
get60%
displayValue60%
authenticate60%
fieldPath61%
localeClause61%
intParam63%
intParam63%
allow64%
persist64%
addTemplates66%
get66%
assetLabel66%
structure66%
properties66%
properties66%
properties66%
properties66%
properties66%
properties66%
properties66%
properties66%
properties66%
properties66%
properties66%
properties66%
structure66%
peekNext66%
failed66%
appendAttribute66%
getDefault66%
negotiate66%
fieldType66%
active66%
create66%
delete66%
map66%
arrayFrom66%
hasFile66%
limit66%
options66%
items66%
arrayFrom66%
getValue67%
fromRequest68%
dynamicTitle68%
resolveParentUid69%
renderIcon70%
store70%
serialize70%
withAutowiredClasses71%
sanitizedNext71%
notice71%
joinStyles71%
selectPicture71%
duplicate71%
handle71%
style71%
imageAttrs71%
resolveParentId72%
node75%
get75%
parentNode75%
stringParam75%
parentNode75%
stringParam75%
intParam75%
listValueMap75%
apply75%
apply75%
apply75%
apply75%
apply75%
apply75%
apply75%
apply75%
apply75%
apply75%
apply75%
image75%
assetPath75%
blockList75%
entryList75%
__construct75%
fieldMeta75%
prepareUrlPath75%
parentByNode75%
normalizePath75%
completeHandle75%
has75%
textLike75%
mark75%
styleMark75%
horizontalRuleAttrs75%
classAttr75%
writableField75%
balanceTags75%
localize75%
currency75%
initFields75%
url75%
hydrateAll75%
resolve75%
delete76%
getField76%
literal77%
markCopy77%
get77%
requiredSlug77%
path77%
getJsonFieldExpression78%
place78%
displayDate78%
userLabel78%
assertMove78%
upload78%
renderer80%
withPostgresqlObjectPrefix80%
itemTitle80%
logo80%
containsEmbedded80%
apply80%
typesCondition80%
normalize80%
mediaList80%
generateFromRoute80%
isInt80%
children80%
link80%
minItems80%
maxItems80%
__construct80%
__construct80%
prepareEntries80%
__get80%
customRenderer80%
transformList81%
normalizePaths81%
structure82%
resize83%
authenticateByOneTimeToken83%
forgetRemembered83%
getSessionTokenHash83%
strings83%
isBoolean83%
strings83%
strings83%
locales83%
locale83%
itemPayload83%
fieldExpression83%
get83%
cacheDir83%
mergeStyle83%
normalize83%
isLocaleMap83%
parent83%
titleEvalNode83%
__construct83%
publicPath83%
normalizeLocaleIds83%
searchTitle84%
split84%
marker84%
rememberCookieOptions84%
startSession85%
rememberUser85%
childBlueprints85%
prefix85%
createPaths85%
nodeClass85%
properties85%
childrenOf85%
only85%
process85%
parentPath85%
children85%
marks85%
attrs85%
files85%
files85%
content86%
compile86%
search86%
sizePath87%
icon87%
properties87%
apply87%
exclude87%
localeIds87%
loginUrl87%
create87%
pathMap87%
resolveTitle87%
children87%
icon87%
effectiveFiles87%
request88%
expand88%
persistNode88%
marks88%
materializeLists88%
resolveAttributes88%
resolve88%
cache88%
openParam88%
openParam88%
properties88%
entriesField88%
resolve88%
children88%
localize88%
handle88%
syntaxes88%
block89%
validate89%
serve89%
process89%

Project Risks

Method Coverage Complexity CRAP
condition33.3%18114
fromBrowser0.0%990
saveUrlPaths0.0%872
columnSort18.8%1063
previewPath0.0%642
__call0.0%530
refererPath0.0%530
localize0.0%530
getValue67.6%1829
itemPayload83.3%2527
displayValue60.0%1426
createCacheFile59.4%1324
routeNeedsHandle25.0%621
synchronizeNodes0.0%420
sendFile0.0%420
paths0.0%420
applySettings57.1%1120
locale0.0%420
handle0.0%420
path0.0%420
resolveParent0.0%420
content86.4%1919
panelDevOrigin37.5%718
fieldPath61.1%1118
redirectIfExists20.0%517
isAnimatedGif41.2%716
notice71.4%1316
shape41.7%716
duplicate71.4%1215
fromRequest68.4%1114
save58.6%914
marks85.7%1414
__get50.0%713
status55.6%813
i18n0.0%312
tristateValue0.0%312
nodeStatus57.9%812
panelDevHost0.0%312
translateKeyword0.0%312
resolve75.8%1112
create66.7%912
delete66.7%912
nodePath0.0%312
mark75.0%1112
sanitize0.0%312
validate89.5%1111
logout22.2%411
store70.2%911
hydrateAll75.8%1011
localeClause61.5%811
link80.0%1111
decodeContent50.0%610
__isset50.0%610
imageAttrs71.4%910
upload78.8%99
intParam63.6%79
intParam63.6%79
materializeLists88.6%99
cacheDir83.3%99
persist64.3%79
attrs85.7%99
files85.7%99
files85.7%99
isResizable57.1%68
cache88.9%88
sanitizedNext71.4%78
containsEmbedded80.0%88
structure82.6%88
getJsonFieldExpression78.3%88
block89.3%88
expand88.2%88
ancestor33.3%48
childBlueprints85.7%77
serve89.5%77
transaction54.5%57
userLabel78.6%77
allow64.3%67
getField76.5%77
markCopy77.8%77
marks88.2%77
__isset0.0%26
resolve0.0%26
string0.0%26
__destruct0.0%26
delete76.5%66
renderIcon70.0%66
available0.0%26
redirect0.0%26
__construct0.0%26
shape0.0%26
shape0.0%26
getFields0.0%26
structure0.0%26
shape0.0%26
shape0.0%26
apply0.0%26
transformList81.8%66
search87.0%66
typesCondition80.0%66
compile86.7%66
localeIds25.0%36
scalarComparison0.0%26
walk0.0%26
request88.2%66
store42.9%46
normalizePaths81.8%66
place78.3%66
isLocaleMap83.3%66
icon0.0%26
get77.8%66
parentByUid0.0%26
persistHandle59.1%56
children80.0%66
asset0.0%26
classAttr75.0%66
__toString0.0%26
prepareEntries80.0%66
__toString0.0%26
zxx0.0%26
withPostgresqlObjectPrefix80.0%55
openParam88.9%55
createPaths85.7%55
displayDate78.6%55
openParam88.9%55
nodeClass85.7%55
intParam75.0%55
structure55.6%45
literal77.8%55
__toString33.3%35
split84.6%55
appendAttribute66.7%55
process85.7%55
mediaList80.0%55
selectPicture71.4%55
marker84.6%55
generateFromRoute80.0%55
nodeId60.0%45
pathMap87.5%55
titleEvalNode83.3%55
persistNode88.2%55
resolveParentUid69.2%55
get60.0%45
path77.8%55
children88.9%55
style71.4%55
children87.5%55
hasFile66.7%55
customRenderer80.0%55
syntaxes88.9%55
resize83.3%44
strings83.3%44
strings83.3%44
strings83.3%44
withAutowiredClasses71.4%44
actor50.0%34
actor50.0%34
authenticate60.6%44
localizeOption50.0%34
listValueMap75.0%44
searchTitle84.6%44
fieldExpression83.3%44
getRegex50.0%34
isComparison40.0%34
queryValue40.0%34
assertMove78.6%44
process89.5%44
blockList75.0%44
entryList75.0%44
serialize70.4%44
parent83.3%44
requiredSlug77.8%44
assertUidUnchanged50.0%34
ensureRouteHandle50.0%34
isInt80.0%44
handle71.4%44
children85.7%44
horizontalRuleAttrs75.0%44
balanceTags75.0%44
effectiveFiles87.5%44
publicPath83.3%44
limit66.7%44
sizePath87.5%33
authenticateByOneTimeToken83.3%33
startSession85.7%33
forgetRemembered83.3%33
getSessionTokenHash83.3%33
resolveAttributes88.9%33
get57.1%33
isBoolean83.3%33
locales83.3%33
locale83.3%33
itemTitle80.0%33
logo80.0%33
apply80.0%33
apply87.5%33
properties85.7%33
image75.0%33
assetPath75.0%33
only85.7%33
exclude87.5%33
localeIds87.5%33
normalize80.0%33
mergeStyle83.3%33
joinStyles71.4%33
loginUrl87.5%33
normalize83.3%33
parentPath85.7%33
normalizePath75.0%33
dynamicTitle68.8%33
resolveParentId72.7%33
completeGeneratedPaths56.2%33
has75.0%33
map66.7%33
arrayFrom66.7%33
textLike75.0%33
styleMark75.0%33
rememberCookieOptions84.6%33
writableField75.0%33
__get80.0%33
normalizeLocaleIds83.3%33
arrayFrom66.7%33
rememberUser85.7%22
addTemplates66.7%22
node75.0%22
renderer80.0%22
icon87.5%22
__get40.0%22
get66.7%22
resolve88.9%22
prefix85.7%22
get75.0%22
parentNode75.0%22
stringParam75.0%22
parentNode75.0%22
stringParam75.0%22
redirect50.0%22
updateItem47.4%22
assetLabel66.7%22
requireAllowedEntryTypes50.0%22
structure66.7%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
properties66.7%22
apply75.0%22
properties66.7%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
structure66.7%22
childrenOf85.7%22
get83.3%22
peekNext66.7%22
failed66.7%22
getDefault66.7%22
negotiate66.7%22
entriesField88.9%22
fieldType66.7%22
create87.5%22
__construct75.0%22
active66.7%22
fieldMeta75.0%22
fieldFor60.0%22
prepareUrlPath75.0%22
parentByNode75.0%22
resolve88.9%22
resolveTitle87.5%22
resolveDeletable50.0%22
completeHandle75.0%22
__construct83.3%22
icon87.5%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
url75.0%22
handle88.9%22
options66.7%22
items66.7%22