H5PWordPress D

Total Complexity 154
Dependencies 6
Dependents 1
Total lines 1,310
Lines of code 898
Logical lines of code 309
Comment lines 280
Methods 64
Properties 2

Methods 64

Method Rating Maintainability Complexity Lines of code
saveLibraryData()
B
32 15 129
loadContent()
A
44 7 53
replaceContentTypeCache()
A
43 7 51
fetchExternalData()
A
50 8 28
hasPermission()
S
60 7 14
saveLibraryUsage()
S
50 5 29
setOption()
S
54 5 23
loadLibrary()
S
48 4 37
updateContent()
S
45 3 42
getLibraryId()
S
53 4 24
updateContentFields()
S
54 4 23
isPatchedLibrary()
S
55 4 19
t()
S
58 4 14
loadLibrarySemantics()
S
57 3 17
saveCachedAssets()
S
59 3 15
getSemanticsFromFile()
S
61 3 11
loadContentDependencies()
S
55 2 23
getLibraryUsage()
S
57 2 19
deleteCachedAssets()
S
57 2 17
pathsToCsv()
S
64 3 10
saveLibraryDependencies()
S
59 2 15
getOption()
S
65 3 9
getLibraryStats()
S
59 2 15
getLibraryContentCount()
S
60 2 14
loadLibraries()
S
61 2 13
getNumContent()
S
63 2 11
resetContentUserData()
S
59 1 16
loadAddons()
S
61 1 16
setErrorMessage()
S
67 2 8
setInfoMessage()
S
73 2 5
getMessages()
S
67 2 8
getUploadedH5pFolderPath()
S
66 2 9
getUploadedH5pPath()
S
65 2 9
getWhitelist()
S
69 2 7
currentUserCanEdit()
S
71 2 6
getLibraryConfig()
S
79 2 3
libraryHasUpgrade()
S
60 1 15
getH5pPath()
S
76 1 4
getLibraryFileUrl()
S
74 1 4
isInDevMode()
S
82 1 3
mayUpdateLibraries()
S
80 1 3
deleteLibraryDependencies()
S
68 1 8
deleteLibrary()
S
66 1 7
insertContent()
S
80 1 3
copyLibraryUsage()
S
65 1 10
deleteContentData()
S
67 1 7
deleteLibraryUsage()
S
74 1 4
alterLibrarySemantics()
S
78 1 3
camelToString()
S
75 1 4
clearFilteredParameters()
S
66 1 9
getNumNotFiltered()
S
68 1 8
getAdminUrl()
S
91 1 2
getPlatformInfo()
S
68 1 8
setLibraryTutorialUrl()
S
65 1 10
isContentSlugAvailable()
S
74 1 4
getNumAuthors()
S
70 1 7
lockDependencyStorage()
S
98 1 1
unlockDependencyStorage()
S
98 1 1
afterExportCreated()
S
81 1 3
dateTimeToTime()
S
75 1 4
replaceContentHubMetadataCache()
S
92 1 1
getContentHubMetadataCache()
S
89 1 1
getContentHubMetadataChecked()
S
92 1 1
setContentHubMetadataChecked()
S
92 1 1