UniteFunctionsUC D

Total Complexity 348
Dependencies 3
Dependents 91
Total lines 1,958
Lines of code 1,050
Logical lines of code 754
Comment lines 383
Methods 107
Properties 2

Methods 107

Method Rating Maintainability Complexity Lines of code
getFileListTree()
A
49 17 28
insertToAssocArray()
A
42 13 58
deleteDir()
A
48 13 32
arrStyleToStrStyle()
A
50 10 28
findFreeFilepath()
A
49 9 32
getDiffArrItems()
A
52 8 25
cleanPath()
A
54 8 21
getUrlContents()
A
47 7 36
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
filterArrFields()
S
59 6 15
isTextEncoded()
S
59 6 14
formatXmlString()
S
52 5 24
html2rgb()
S
57 5 16
assocToArrayKeyValue()
S
58 5 15
copyDir()
S
58 5 15
maybeUnserialize()
S
62 5 12
getDirList()
S
61 5 12
strToBool()
S
62 5 12
jsonDecode()
S
64 5 9
getFileList()
S
62 5 10
addPathEndingSlash()
S
65 5 7
isEnoughtPHPMemory()
S
59 4 14
limitStringSize()
S
62 4 11
maybeDecodeTextContent()
S
63 4 11
validateFilepath()
S
65 4 8
validateNotEmpty()
S
69 4 6
realpath()
S
64 4 9
phpArrayToJsArrayText()
S
61 3 12
addTabsToText()
S
62 3 11
showTrace()
S
64 3 10
getPostGetVariable()
S
67 3 7
getArrFirstValue()
S
67 3 8
getFirstNotEmptyKey()
S
68 3 7
convertStdClassToArray()
S
64 3 10
arrayToAssoc()
S
64 3 10
trimArrayItems()
S
67 3 7
jsonEncodeForHtmlData()
S
63 3 10
getRandomString()
S
62 3 10
decodeContent()
S
63 3 10
getNumberFromStringEnd()
S
66 3 8
validateValueInArray()
S
68 3 6
validateDir()
S
66 3 8
validateNumeric()
S
67 3 7
validateNoTags()
S
67 3 7
validateIDsList()
S
67 3 7
validateAlphaNumeric()
S
69 3 6
mkdirValidate()
S
68 3 7
getPathInfo()
S
63 3 10
isLocal()
S
71 3 5
downloadImage()
S
59 2 14
downloadFile()
S
59 2 14
throwError()
S
71 2 6
getPostVariable()
S
69 2 6
getGetVar()
S
68 2 7
getVal()
S
73 2 5
assocToArray()
S
71 2 6
jsonEncodeForClientSide()
S
67 2 8
isAssocArray()
S
73 2 4
normalizeSize()
S
65 2 9
encodeContent()
S
69 2 7
getStringTextPortion()
S
66 2 8
validateObjectMethod()
S
73 2 4
validateCharNotExists()
S
74 2 4
validatePHPVersion()
S
70 2 6
validateGD()
S
75 2 4
isAlphaNumeric()
S
70 2 6
checkCreateDir()
S
76 2 4
writeFile()
S
67 2 7
clearDebug()
S
76 2 4
isPathUnderBase()
S
67 2 7
normalizeTextareaContent()
S
69 2 7
boolToStr()
S
68 2 7
printPath()
S
67 2 8
z________________ARRAYS_______________()
S
95 1 1
getRandomArrayItem()
S
69 1 6
addArrFirstValue()
S
75 1 4
z______________STRINGS_____________()
S
95 1 1
removeLineBreaks()
S
72 1 5
sanitizeAttr()
S
76 1 4
decodeTextContent()
S
76 1 4
getSerialID()
S
69 1 6
z______________URLS_____________()
S
95 1 1
urlToHandle()
S
73 1 4
urlToSsl()
S
72 1 5
z______________VALIDATIONS_____________()
S
95 1 1
isEmailValid()
S
79 1 3
z______________FILE_SYSTEM_____________()
S
95 1 1
getFilenameNoExtension()
S
72 1 5
getFilenameExtension()
S
72 1 5
writeDebugError()
S
65 1 9
addToFile()
S
69 1 6
removePathEndingSlash()
S
72 1 5
pathToUnix()
S
72 1 5
pathToRelative()
S
72 1 5
joinPaths()
S
72 1 5
z______________OTHERS_____________()
S
95 1 1
timestamp2Time()
S
75 1 4
timestamp2DateTime()
S
75 1 4
timestamp2Date()
S
75 1 4
downloadTextFile()
S
66 1 8
yiq()
S
77 1 3
toString()
S
79 1 3
remove_utf8_bom()
S
68 1 7