WaicUtils D

Total Complexity 325
Dependencies 10
Dependents 35
Total lines 1,106
Lines of code 952
Logical lines of code 563
Comment lines 129
Methods 107
Properties 3

Methods 107

Method Rating Maintainability Complexity Lines of code
getBrowser()
B
40 17 57
getArrayValue()
A
52 14 22
controlUploatedFile()
A
48 11 31
getIP()
A
54 10 21
generateBgStyle()
A
49 7 33
colourBrightness()
S
50 7 28
checkEmptyApiKeys()
S
53 7 25
addDays()
S
52 7 23
activatePlugin()
S
56 7 18
getTimeZone()
S
55 7 18
getDirList()
S
57 7 16
getFilesList()
S
60 7 12
copyDirectories()
S
55 6 20
getTimeRange()
S
54 6 20
convertDateTimeFormat()
S
58 6 16
deactivatePlugin()
S
58 6 15
deletePlugin()
S
59 5 15
getRealUserIp()
S
58 5 15
convertDateFormat()
S
61 5 13
getPluginPath()
S
61 5 11
makeVariablesReplacement()
S
64 5 9
getReferalHost()
S
63 5 10
createDir()
S
61 4 12
deleteDir()
S
61 4 11
getRandStr()
S
61 4 11
getUserAgent()
S
62 4 11
hexToRgb()
S
56 3 17
jsonDecode()
S
65 4 9
isThisCommercialEdition()
S
67 4 8
parseImgIds()
S
66 4 8
getCurrentUserRoleList()
S
63 4 10
getTaxonomyTermsList()
S
62 3 11
jsonEncode()
S
77 3 3
httpProtectDir()
S
63 3 10
is()
S
66 3 9
getMonthesArray()
S
62 3 10
checkNum()
S
70 3 6
checkString()
S
70 3 6
arrToCss()
S
64 3 9
isSessionStarted()
S
67 3 7
setAdminUser()
S
67 3 7
getBrowserLangCode()
S
70 3 5
getAllUserRolesList()
S
64 3 10
controlNumericValues()
S
69 3 6
getCurrentDateFormat()
S
67 3 7
getConvertedDate()
S
63 3 10
checkDateTime()
S
67 3 7
getCountWords()
S
61 2 12
getXml()
S
71 2 6
xmlAttrToStr()
S
69 2 7
xmlNodeAttrsToArr()
S
68 2 7
getWeekDaysArray()
S
63 2 10
getYearsArray()
S
64 2 8
getHost()
S
77 2 3
getUserBrowserString()
S
77 2 3
getLangCode2Letter()
S
74 2 4
getCurrentUserRole()
S
65 2 9
getJSDateFormat()
S
69 2 6
getFormatedDateTime()
S
70 2 6
getFormatedDateTimeDB()
S
70 2 6
getFirstDateMonthDB()
S
66 2 8
isHPOS()
S
70 2 6
mbstrlen()
S
78 2 3
mbsubstr()
S
76 2 3
mbstrrpos()
S
76 2 3
mbstrpos()
S
76 2 3
insertKeyValuePair()
S
63 2 10
getSocialList()
S
60 1 13
getSearchEnginesList()
S
61 1 12
unserialize()
S
80 1 3
serialize()
S
80 1 3
deleteFile()
S
79 1 3
getPluginDir()
S
79 1 3
getExtModDir()
S
79 1 3
getExtModPath()
S
79 1 3
getCurrentWPThemePath()
S
80 1 3
getFileExt()
S
78 1 3
isMobile()
S
72 1 5
isTablet()
S
72 1 5
getUploadsDir()
S
75 1 4
getUploadsPath()
S
75 1 4
isWritable()
S
80 1 3
isReadable()
S
80 1 3
fileExists()
S
80 1 3
isPluginsPage()
S
78 1 3
getUploadFilePathFromUrl()
S
72 1 5
getUploadUrlFromFilePath()
S
72 1 5
getBrowsersList()
S
77 1 3
getLangCode()
S
80 1 3
getReferalUrl()
S
79 1 3
getAllUserRoles()
S
80 1 3
rgbToArray()
S
73 1 4
hexToRgbaStr()
S
73 1 4
getCurrentDateFormatDB()
S
80 1 3
getCurrentDateTimeFormat()
S
79 1 3
getCurrentDateTimeFormatDB()
S
79 1 3
getJSTimeFormat()
S
77 1 3
getTimestamp()
S
74 1 4
getTimestampDB()
S
79 1 3
getTimestampFrom()
S
79 1 3
convertDateTimeToFront()
S
78 1 3
convertDateTimeToDB()
S
79 1 3
isWooCommercePluginActivated()
S
80 1 3
isExistMB()
S
80 1 3
calcTokensByModel()
S
69 1 6
calcTokensByEncoding()
S
69 1 6
markdownToHtml()
S
70 1 6