UniteFunctionsUC D

Total Complexity 641
Dependencies 6
Dependents 176
Total lines 3,740
Lines of code 1,976
Logical lines of code 1,430
Comment lines 666
Methods 181
Properties 2

Methods 181

Method Rating Maintainability Complexity Lines of code
parseXML()
B
42 19 52
deleteDir()
B
42 18 50
getFileListTree()
B
47 18 32
insertToAssocArray()
A
42 13 58
maybeCsvDecode()
A
47 12 39
truncateString()
A
47 11 36
truncateHTML()
A
44 10 46
loadXMLFile()
A
47 10 35
arrStyleToStrStyle()
A
50 10 28
findFreeFilepath()
A
49 9 32
cleanPath()
A
52 9 23
modifyDataArrayForShow()
A
55 9 18
getDiffArrItems()
A
52 8 25
getIDsArray()
A
54 8 21
getTimeAgoString()
S
49 7 28
getFilesVariable()
S
51 7 27
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
getVimeoIDFromUrl()
S
58 6 15
filterArrFields()
S
59 6 15
deleteListOfFiles()
S
60 6 14
strToBool()
S
60 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
58 5 17
date2Timestamp()
S
58 5 17
html2rgb()
S
57 5 16
copyDir()
S
58 5 15
assocToArrayKeyValue()
S
58 5 15
filterArrayByKeyValue()
S
60 5 13
csvToArray()
S
60 5 13
getDirList()
S
61 5 12
maybeUnserialize()
S
62 5 12
getSizeAndUnit()
S
55 4 19
maybeJsonDecode()
S
63 5 10
maybeXmlDecode()
S
63 5 10
getFileList()
S
62 5 10
addPathEndingSlash()
S
65 5 7
jsonDecode()
S
64 5 9
isEnoughtPHPMemory()
S
59 4 14
getBaseUrl()
S
58 4 14
getArrayValueByPath()
S
60 4 13
getRandomString()
S
60 4 12
clearKeysFirstUnderscore()
S
61 4 12
assocToArrayNames()
S
61 4 12
limitStringSize()
S
62 4 11
getSessionVar()
S
62 4 11
xmlDecode()
S
61 4 11
maybeDecodeTextContent()
S
63 4 11
detectDateFormat()
S
55 3 19
downloadCsv()
S
55 3 18
writeRollingLogFile()
S
57 3 16
validateNotEmpty()
S
69 4 6
validateFilepath()
S
65 4 8
replaceStringsInArrayDeep()
S
64 4 9
realpath()
S
64 4 9
iterateArrayRecursive()
S
65 4 9
isTimeStamp()
S
65 4 8
getTimeAgoStringUnit()
S
59 3 13
phpArrayToJsArrayText()
S
61 3 12
isStringContains()
S
63 3 11
addTabsToText()
S
62 3 11
writeFile()
S
64 3 9
mkdirValidate()
S
68 3 7
validateAlphaNumeric()
S
69 3 6
isHTMLValid()
S
64 3 10
validateUrlAlias()
S
64 3 9
isValidIDsList()
S
66 3 8
validateIDsList()
S
67 3 7
validateDir()
S
66 3 8
validateNoTags()
S
67 3 7
validateNumeric()
S
67 3 7
validateValueInArray()
S
68 3 6
getYoutubeVideoID()
S
65 3 9
setSessionVar()
S
68 3 7
jsonEncodeForHtmlData()
S
63 3 10
isLocal()
S
71 3 5
showTrace()
S
64 3 10
isArrayAssoc()
S
69 3 6
getPostGetVariable()
S
65 3 9
isEmptyColorString()
S
65 3 9
getArrFirstValue()
S
67 3 8
getFirstNotEmptyKey()
S
68 3 7
removeArrItemsByKeys()
S
68 3 7
convertStdClassToArray()
S
64 3 10
arrPostsToAssoc()
S
66 3 9
arrayToArrAssocItems()
S
66 3 8
trimArrayItems()
S
67 3 7
getPathInfo()
S
63 3 10
getNumberFromStringEnd()
S
66 3 8
getArrayDuplicateValues()
S
65 3 9
decodeContent()
S
63 3 10
mergeArraysUnique()
S
68 3 7
downloadFile()
S
59 2 14
downloadImage()
S
59 2 14
normalizeTextareaContent()
S
69 2 7
encodeSVGForBGUrl()
S
70 2 6
boolToStr()
S
68 2 7
disableDeprecatedWarnings()
S
72 2 5
clearDebug()
S
76 2 4
sanitizeColorString()
S
72 2 5
printPath()
S
67 2 8
clearSessionVar()
S
69 2 6
timestamp2Date()
S
70 2 6
isPathUnderBase()
S
67 2 7
timestamp2DateTime()
S
67 2 8
addUrlEndingSlash()
S
68 2 7
throwError()
S
72 2 5
getUserIp()
S
73 2 5
validateGD()
S
75 2 4
getStringTextPortion()
S
66 2 8
encodeContent()
S
69 2 7
normalizeSize()
S
65 2 9
validateObjectMethod()
S
73 2 4
getHtmlTagsLength()
S
64 2 9
validateCharNotExists()
S
74 2 4
validatePHPVersion()
S
70 2 6
isAssocArray()
S
73 2 4
addImportantToCss()
S
72 2 5
jsonEncodeForClientSide()
S
67 2 8
assocToArray()
S
68 2 7
isAlphaNumeric()
S
70 2 6
validateEmail()
S
69 2 6
getVal()
S
73 2 5
getGetVar()
S
68 2 7
getPostVariable()
S
68 2 7
checkCreateDir()
S
76 2 4
getHrefFromHtml()
S
66 2 8
getPrettyHtml()
S
62 1 11
cleanUrl()
S
75 1 4
yiq()
S
77 1 3
z_____________STRINGS_____________()
S
95 1 1
addArrFirstValue()
S
75 1 4
downloadTxt()
S
66 1 8
downloadJson()
S
66 1 8
clearDirByTime()
S
77 1 3
addToFile()
S
69 1 6
writeDebugError()
S
65 1 9
getRandomArrayItem()
S
69 1 6
isEmailValid()
S
78 1 3
showObjData()
S
67 1 8
z_________ARRAYS_______()
S
95 1 1
isUrlValid()
S
78 1 3
toString()
S
79 1 3
remove_utf8_bom()
S
68 1 7
z________FILE_SYSTEM________()
S
95 1 1
showClassStaticVariables()
S
73 1 5
redirectToUrl()
S
76 1 4
getUserAgent()
S
80 1 3
removeLineBreaks()
S
72 1 5
sanitizeAttr()
S
76 1 4
urlToSsl()
S
72 1 5
joinPaths()
S
72 1 5
z__________SESSIONS_______()
S
95 1 1
urlToHandle()
S
73 1 4
z__________URL__________()
S
95 1 1
z___________VALIDATIONS_________()
S
95 1 1
z___________TIME_AND_DATE__________()
S
95 1 1
replaceFirstSubstring()
S
74 1 4
convertHandleToTitle()
S
72 1 5
timestamp2Time()
S
75 1 4
getFilenameNoExtension()
S
72 1 5
getArrSanitizeTypes()
S
66 1 8
getSerialID()
S
69 1 6
pathToRelative()
S
72 1 5
getNumberFromString()
S
75 1 4
z___________OTHERS__________()
S
95 1 1
obStart()
S
81 1 3
isMaxDebug()
S
72 1 5
pathToUnix()
S
72 1 5
decodeTextContent()
S
76 1 4
removePathEndingSlash()
S
72 1 5
getFilenameExtension()
S
72 1 5