UniteCreatorLayout A

Total Complexity 62
Dependencies 7
Dependents 14
Total lines 576
Lines of code 263
Logical lines of code 208
Comment lines 131
Methods 20
Properties 2

Methods 20

Method Rating Maintainability Complexity Lines of code
updateLayoutInDB()
A
43 13 49
createLayoutInDB()
A
46 8 36
initByPost()
S
48 6 33
initByID()
S
57 5 18
checkNewPostLayoutContent()
S
61 4 13
getPostBaseName()
S
61 4 13
getPreviewImage()
S
61 3 12
getLastRevision()
S
63 3 11
generateHtmlAddonContentForLayout()
S
60 2 13
getExportLayoutName()
S
63 2 11
getNewLayoutName()
S
66 2 8
isGroup()
S
68 2 7
getUrlViewPost()
S
73 1 5
getUrlEditPost()
S
73 1 5
__construct()
S
81 1 3
isLayoutExistsByName()
S
76 1 4
isLayoutExistsByTitle()
S
76 1 4
getParentID()
S
74 1 5
delete()
S
67 1 8
getDefaultPreviewImage()
S
73 1 5