H5PCore D

Total Complexity 288
Dependencies 15
Dependents 13
Total lines 2,090
Lines of code 1,246
Logical lines of code 583
Comment lines 545
Methods 60
Properties 20

Methods 60

Method Rating Maintainability Complexity Lines of code
filterParameters()
B
41 16 53
hubRegisterAccount()
B
37 14 81
fetchLibrariesMetadata()
A
38 12 70
getHubContentStatus()
A
43 13 45
getDisplayOptionsForEdit()
A
48 12 33
checkSetupErrorMessage()
A
44 11 46
getLocalization()
A
26
1 175
hubPublishContent()
A
48 9 31
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
hubAccountInfo()
S
50 7 27
retrieveValue()
S
53 7 23
textAddonMatches()
S
57 7 17
deleteFileTree()
S
55 6 20
hubRetrieveContent()
S
52 5 23
updateContentHubMetadataCache()
S
53 5 22
getUpdatedContentHubMetadataCache()
S
55 5 20
determineEmbedType()
S
62 6 10
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
hubSyncContent()
S
55 3 19
hubUnpublishContent()
S
55 3 18
slugify()
S
51 3 17
getDisplayOptionsForView()
S
58 3 15
ajaxSuccess()
S
62 3 12
hubGetAuthorizationHeader()
S
62 3 11
loadContent()
S
56 2 17
saveContent()
S
64 3 10
getLibrariesInstalled()
S
63 3 10
combineArrayValues()
S
65 3 9
getLibraryId()
S
63 3 10
mayUpdateLibraries()
S
65 3 10
libraryFromString()
S
61 2 13
__construct()
S
61 2 11
getDependenciesHash()
S
65 2 8
libraryToFolderName()
S
70 2 5
validToken()
S
71 2 5
getDependencyPath()
S
79 1 3
deleteLibrary()
S
81 1 3
libraryToString()
S
73 1 4
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