UniteFunctionsUC D

Total Complexity 539
Dependencies 4
Dependents 131
Total lines 3,131
Lines of code 1,644
Logical lines of code 1,206
Comment lines 568
Methods 156
Properties 2

Methods 156

Method Rating Maintainability Complexity Lines of code
deleteDir()
B
42 18 50
getFileListTree()
A
49 17 28
insertToAssocArray()
A
42 13 58
maybeCsvDecode()
A
47 12 37
truncateHTML()
A
44 10 46
truncateString()
A
48 10 33
arrStyleToStrStyle()
A
50 10 28
getUrlContents()
A
45 9 42
findFreeFilepath()
A
49 9 32
getDiffArrItems()
A
52 8 25
cleanPath()
A
54 8 21
getIDsArray()
A
54 8 21
modifyDataArrayForShow()
S
57 8 15
addUrlParams()
S
53 7 22
validateWritable()
S
56 7 18
arrStyleToStrInlineCss()
S
57 7 16
getPHPMemoryLimit()
S
53 6 23
arrayToXML()
S
54 6 21
parseHTMLGetLinks()
S
55 6 19
getPathSize()
S
57 6 17
filterArrFields()
S
59 6 15
getVimeoIDFromUrl()
S
58 6 15
getTimeAgoString()
S
57 6 14
isTextEncoded()
S
59 6 14
isValidIDsArray()
S
62 6 11
formatXmlString()
S
52 5 24
validateHTML()
S
54 5 21
arrayToCsv()
S
55 5 19
arrayToAssoc()
S
59 5 16
html2rgb()
S
57 5 16
copyDir()
S
58 5 15
assocToArrayKeyValue()
S
58 5 15
strToBool()
S
62 5 12
maybeUnserialize()
S
62 5 12
getDirList()
S
61 5 12
deleteListOfFiles()
S
63 5 11
getSizeAndUnit()
S
55 4 19
addPathEndingSlash()
S
65 5 7
getFileList()
S
62 5 10
jsonDecode()
S
64 5 9
maybeJsonDecode()
S
63 5 10
getBaseUrl()
S
58 4 14
isEnoughtPHPMemory()
S
59 4 14
getRandomString()
S
60 4 12
assocToArrayNames()
S
61 4 12
validatePHPInExtracted()
S
60 4 12
maybeDecodeTextContent()
S
63 4 11
limitStringSize()
S
62 4 11
getSessionVar()
S
62 4 11
validateNotEmpty()
S
69 4 6
realpath()
S
64 4 9
validateFilepath()
S
65 4 8
iterateArrayRecursive()
S
65 4 9
phpArrayToJsArrayText()
S
61 3 12
getTimeAgoStringUnit()
S
60 3 12
addTabsToText()
S
62 3 11
isStringContains()
S
63 3 11
validateUrlAlias()
S
64 3 9
validateAlphaNumeric()
S
69 3 6
showTrace()
S
64 3 10
isValidIDsList()
S
66 3 8
getPathInfo()
S
63 3 10
getYoutubeVideoID()
S
65 3 9
writeFile()
S
64 3 9
mkdirValidate()
S
68 3 7
isArrayAssoc()
S
69 3 6
getPostGetVariable()
S
67 3 7
isHTMLValid()
S
64 3 10
validateNoTags()
S
67 3 7
validateNumeric()
S
67 3 7
isLocal()
S
71 3 5
validateDir()
S
66 3 8
validateValueInArray()
S
68 3 6
getArrFirstValue()
S
67 3 8
mergeArraysUnique()
S
68 3 7
setSessionVar()
S
68 3 7
decodeContent()
S
63 3 10
getFirstNotEmptyKey()
S
68 3 7
removeArrItemsByKeys()
S
68 3 7
convertStdClassToArray()
S
64 3 10
jsonEncodeForHtmlData()
S
63 3 10
trimArrayItems()
S
67 3 7
isEmptyColorString()
S
65 3 9
getArrayDuplicateValues()
S
65 3 9
getNumberFromStringEnd()
S
66 3 8
downloadImage()
S
59 2 14
downloadFile()
S
59 2 14
encodeSVGForBGUrl()
S
70 2 6
isPathUnderBase()
S
67 2 7
clearSessionVar()
S
69 2 6
sanitizeColorString()
S
72 2 5
normalizeTextareaContent()
S
69 2 7
addUrlEndingSlash()
S
68 2 7
printPath()
S
67 2 8
checkCreateDir()
S
76 2 4
clearDebug()
S
76 2 4
boolToStr()
S
68 2 7
throwError()
S
71 2 6
encodeContent()
S
69 2 7
validateObjectMethod()
S
73 2 4
getStringTextPortion()
S
66 2 8
normalizeSize()
S
65 2 9
getHrefFromHtml()
S
66 2 8
isAssocArray()
S
73 2 4
jsonEncodeForClientSide()
S
67 2 8
getVal()
S
73 2 5
assocToArray()
S
68 2 7
validateCharNotExists()
S
74 2 4
validatePHPVersion()
S
70 2 6
validateGD()
S
75 2 4
validateEmail()
S
69 2 6
isAlphaNumeric()
S
70 2 6
getGetVar()
S
68 2 7
validateIDsList()
S
71 2 5
getPostVariable()
S
69 2 6
getPrettyHtml()
S
62 1 11
sanitizeAttr()
S
76 1 4
timestamp2Date()
S
75 1 4
z___________OTHERS__________()
S
95 1 1
decodeTextContent()
S
76 1 4
getArrSanitizeTypes()
S
66 1 8
addArrFirstValue()
S
75 1 4
removeLineBreaks()
S
72 1 5
z_____________STRINGS_____________()
S
95 1 1
remove_utf8_bom()
S
68 1 7
downloadTextFile()
S
66 1 8
timestamp2DateTime()
S
75 1 4
yiq()
S
77 1 3
getRandomArrayItem()
S
69 1 6
z_________ARRAYS_______()
S
95 1 1
toString()
S
79 1 3
z________FILE_SYSTEM________()
S
95 1 1
getSerialID()
S
69 1 6
timestamp2Time()
S
75 1 4
urlToHandle()
S
73 1 4
getFilenameNoExtension()
S
72 1 5
getFilenameExtension()
S
72 1 5
showObjData()
S
67 1 8
writeDebugError()
S
65 1 9
addToFile()
S
69 1 6
clearDirByTime()
S
77 1 3
z___________VALIDATIONS_________()
S
95 1 1
cleanUrl()
S
75 1 4
urlToSsl()
S
72 1 5
z__________URLS__________()
S
95 1 1
getNumberFromString()
S
75 1 4
removePathEndingSlash()
S
72 1 5
pathToUnix()
S
72 1 5
pathToRelative()
S
72 1 5
joinPaths()
S
72 1 5
replaceFirstSubstring()
S
74 1 4
convertHandleToTitle()
S
72 1 5
z__________SESSIONS_______()
S
95 1 1
isEmailValid()
S
79 1 3
z___________TIME_AND_DATE__________()
S
95 1 1
redirectToUrl()
S
76 1 4