H5PCore D

Total Complexity 219
Dependencies 9
Dependents 13
Total lines 1,504
Lines of code 831
Logical lines of code 414
Comment lines 449
Methods 48
Properties 15

Methods 48

Method Rating Maintainability Complexity Lines of code
filterParameters()
B
41 16 53
fetchLibrariesMetadata()
A
38 11 66
getDisplayOptionsForEdit()
A
48 12 33
checkSetupErrorMessage()
A
44 11 46
findLibraryDependencies()
A
49 8 30
getStorableDisplayOptions()
A
54 8 21
getDependenciesFiles()
A
48 7 32
updateContentTypeCache()
S
50 7 30
getDependencyAssets()
S
58 8 14
detectSiteType()
S
58 8 14
retrieveValue()
S
53 7 23
textAddonMatches()
S
57 7 17
deleteFileTree()
S
55 6 20
determineEmbedType()
S
62 6 10
getLocalization()
S
38 1 71
generateContentSlug()
S
57 4 17
checkSetupForRequirements()
S
58 4 17
getUpgrades()
S
64 5 9
ajaxError()
S
59 4 15
loadContentDependencies()
S
59 4 14
getAssetsUrls()
S
59 4 14
loadLibrarySemantics()
S
60 4 14
hashToken()
S
58 4 14
returnBytes()
S
60 4 14
loadLibrary()
S
60 4 13
isSameVersion()
S
63 4 12
setDisplayOptionOverrides()
S
62 4 12
snakeToCamel()
S
61 4 11
slugify()
S
51 3 17
getDisplayOptionsForView()
S
58 3 15
ajaxSuccess()
S
62 3 12
loadContent()
S
56 2 17
saveContent()
S
64 3 10
libraryToString()
S
75 3 3
getLibrariesInstalled()
S
63 3 10
combineArrayValues()
S
65 3 9
getLibraryId()
S
65 3 9
mayUpdateLibraries()
S
65 3 10
libraryFromString()
S
61 2 13
__construct()
S
61 2 11
getDependenciesHash()
S
65 2 8
validToken()
S
71 2 5
deleteLibrary()
S
81 1 3
libraryVersion()
S
78 1 3
getDisplayOptionsAsArray()
S
65 1 9
printJson()
S
73 1 5
createToken()
S
79 1 3
getTimeFactor()
S
78 1 3