WpLoadGalleryAdmin D

Total Complexity 307
Dependencies 8
Dependents 0
Total lines 1,992
Lines of code 1,524
Logical lines of code 782
Comment lines 236
Methods 43
Properties 0

Methods 43

Method Rating Maintainability Complexity Lines of code
changeGallery()
D
29
30 124
startProcess()
C
35 28 82
addVideo()
B
35 22 85
loadGoogleDrive()
B
34 19 88
loadPostList()
A
40 10 61
loadPage()
A
47 11 35
addGoogleDriveFileToGallery()
A
42 10 49
addCategoryToGallery()
A
47 10 36
getCategoriesHtml()
A
44 9 48
addMenuPage()
A
45 8 48
addMediaCategories()
A
51 9 26
register()
A
36 3 111
uploadImages()
A
47 8 35
loadServerFolder()
A
51 8 25
serverFolderAdd()
A
51 8 23
loadServerFolderPreview()
A
48 7 32
updateItem()
S
45 6 45
deleteImgs()
S
51 7 26
createGallery()
S
47 6 36
serverFolderRemove()
S
53 7 21
updateParentGallery()
S
50 6 31
editGallery()
S
45 5 46
itemDetails()
S
49 6 29
insertAttachmentMetadata()
S
52 6 22
loadCategoriesByPostType()
S
56 6 16
addPostsToGallery()
S
57 6 15
moveGallery()
S
53 5 21
importMediaLibrary()
S
56 5 18
addEditorAssets()
S
46 3 42
loadMediaCategoriesList()
S
53 4 23
deleteGallery()
S
57 4 17
getAllGalleries()
S
50 3 31
adminRedirects()
S
60 4 14
getServerFolderHtml()
S
55 3 20
localizeScript()
S
44 1 46
loadDefaultOptions()
S
60 3 14
parentSort()
S
62 3 11
__construct()
S
60 2 13
generateAttachmentHtml()
S
58 1 21
getCountImages()
S
56 1 19
getVimeoVideoIdFromUrl()
S
65 2 9
init()
S
69 1 7
wpb_load_widget()
S
81 1 3