utilsWcu D

Total Complexity 195
Dependencies 4
Dependents 11
Total lines 718
Lines of code 590
Logical lines of code 332
Comment lines 118
Methods 68
Properties 0

Methods 68

Method Rating Maintainability Complexity Lines of code
getBrowser()
B
37 18 73
getIP()
A
57 9 17
generateBgStyle()
A
49 7 33
getDirList()
S
60 7 12
getFilesList()
S
60 7 12
copyDirectories()
S
55 6 20
getTimeRange()
S
55 6 18
activatePlugin()
S
56 6 18
deletePlugin()
S
59 5 15
deactivatePlugin()
S
59 5 15
makeVariablesReplacement()
S
64 5 9
getReferalHost()
S
63 5 10
deleteDir()
S
60 4 12
createDir()
S
61 4 12
getRandStr()
S
61 4 11
hexToRgb()
S
56 3 17
isThisCommercialEdition()
S
68 4 7
parseImgIds()
S
66 4 8
getCurrentUserRoleList()
S
63 4 10
jsonDecode()
S
68 4 7
arrToCss()
S
64 3 9
jsonEncode()
S
77 3 3
isSessionStarted()
S
67 3 7
getBrowserLangCode()
S
70 3 5
getAllUserRolesList()
S
64 3 10
checkString()
S
72 3 5
toAdminEmail()
S
65 3 10
checkNum()
S
72 3 5
httpProtectDir()
S
64 3 9
is()
S
66 3 9
getMonthesArray()
S
64 3 9
getLangCode2Letter()
S
74 2 4
xmlAttrToStr()
S
69 2 7
getXml()
S
71 2 6
getWeekDaysArray()
S
63 2 10
xmlNodeAttrsToArr()
S
68 2 7
getYearsArray()
S
64 2 8
getUserBrowserString()
S
78 2 3
getCurrentUserRole()
S
65 2 9
getSocialList()
S
60 1 13
getSearchEnginesList()
S
61 1 12
getReferalUrl()
S
79 1 3
escape()
S
79 1 3
getAllUserRoles()
S
80 1 3
serialize()
S
80 1 3
rgbToArray()
S
69 1 6
unserialize()
S
80 1 3
getLangCode()
S
80 1 3
hexToRgbaStr()
S
73 1 4
getBrowsersList()
S
70 1 6
getUploadFilePathFromUrl()
S
72 1 5
getUploadUrlFromFilePath()
S
72 1 5
getUploadsPath()
S
75 1 4
getFileExt()
S
78 1 3
getExtModPath()
S
79 1 3
getHost()
S
80 1 3
isMobile()
S
80 1 3
isTablet()
S
80 1 3
getExtModDir()
S
79 1 3
getPluginPath()
S
79 1 3
getCurrentWPThemePath()
S
80 1 3
getPluginDir()
S
79 1 3
isWritable()
S
80 1 3
isReadable()
S
80 1 3
fileExists()
S
80 1 3
isPluginsPage()
S
78 1 3
deleteFile()
S
79 1 3
getUploadsDir()
S
75 1 4