WaicUtils D

Total Complexity 317
Dependencies 9
Dependents 33
Total lines 1,082
Lines of code 928
Logical lines of code 547
Comment lines 129
Methods 104
Properties 3

Methods 104

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
getTimeRange()
S
54 6 20
copyDirectories()
S
55 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
getReferalHost()
S
63 5 10
makeVariablesReplacement()
S
64 5 9
createDir()
S
61 4 12
deleteDir()
S
61 4 11
getRandStr()
S
61 4 11
hexToRgb()
S
56 3 17
isThisCommercialEdition()
S
67 4 8
getCurrentUserRoleList()
S
63 4 10
jsonDecode()
S
65 4 9
parseImgIds()
S
66 4 8
getTaxonomyTermsList()
S
62 3 11
controlNumericValues()
S
69 3 6
getAllUserRolesList()
S
64 3 10
getCurrentDateFormat()
S
67 3 7
getConvertedDate()
S
63 3 10
getBrowserLangCode()
S
70 3 5
checkDateTime()
S
67 3 7
isSessionStarted()
S
67 3 7
jsonEncode()
S
77 3 3
getMonthesArray()
S
62 3 10
checkString()
S
70 3 6
checkNum()
S
70 3 6
httpProtectDir()
S
63 3 10
is()
S
66 3 9
arrToCss()
S
64 3 9
getCountWords()
S
61 2 12
getFormatedDateTime()
S
70 2 6
getJSDateFormat()
S
69 2 6
xmlNodeAttrsToArr()
S
68 2 7
getFormatedDateTimeDB()
S
70 2 6
getYearsArray()
S
64 2 8
xmlAttrToStr()
S
69 2 7
getXml()
S
71 2 6
isHPOS()
S
70 2 6
getFirstDateMonthDB()
S
66 2 8
getWeekDaysArray()
S
63 2 10
getCurrentUserRole()
S
65 2 9
mbstrlen()
S
78 2 3
mbstrrpos()
S
76 2 3
insertKeyValuePair()
S
63 2 10
getUserBrowserString()
S
77 2 3
getLangCode2Letter()
S
74 2 4
mbstrpos()
S
76 2 3
mbsubstr()
S
76 2 3
getHost()
S
77 2 3
getSocialList()
S
60 1 13
getSearchEnginesList()
S
61 1 12
isWooCommercePluginActivated()
S
80 1 3
convertDateTimeToDB()
S
79 1 3
convertDateTimeToFront()
S
78 1 3
isExistMB()
S
80 1 3
deleteFile()
S
79 1 3
getTimestampFrom()
S
79 1 3
serialize()
S
80 1 3
getTimestampDB()
S
79 1 3
unserialize()
S
80 1 3
calcTokensByModel()
S
69 1 6
calcTokensByEncoding()
S
69 1 6
isWritable()
S
80 1 3
getCurrentDateTimeFormat()
S
79 1 3
getTimestamp()
S
74 1 4
getFileExt()
S
78 1 3
fileExists()
S
80 1 3
isPluginsPage()
S
78 1 3
getUploadsPath()
S
75 1 4
getUploadsDir()
S
75 1 4
getUploadFilePathFromUrl()
S
72 1 5
getUploadUrlFromFilePath()
S
72 1 5
isTablet()
S
72 1 5
getBrowsersList()
S
77 1 3
isMobile()
S
72 1 5
getReferalUrl()
S
79 1 3
getJSTimeFormat()
S
77 1 3
getAllUserRoles()
S
80 1 3
getCurrentWPThemePath()
S
80 1 3
rgbToArray()
S
73 1 4
getExtModPath()
S
79 1 3
hexToRgbaStr()
S
73 1 4
getExtModDir()
S
79 1 3
getPluginDir()
S
79 1 3
getCurrentDateFormatDB()
S
80 1 3
isReadable()
S
80 1 3
getCurrentDateTimeFormatDB()
S
79 1 3
getLangCode()
S
80 1 3