Wpup_UpdateServer B

Total Complexity 83
Dependencies 5
Dependents 0
Total lines 654
Lines of code 348
Logical lines of code 191
Comment lines 211
Methods 29
Properties 14

Methods 29

Method Rating Maintainability Complexity Lines of code
logRequest()
A
47 9 32
exitWithError()
S
43 5 51
guessServerUrl()
S
57 5 16
isSsl()
S
63 6 10
initRequest()
S
61 5 11
addQueryArg()
S
55 4 18
rotateLogs()
S
59 4 14
validateRequest()
S
63 4 11
__construct()
S
55 3 19
loadPackageFor()
S
59 3 15
findFirstAsset()
S
58 3 14
getBanners()
S
61 3 12
outputAsJson()
S
62 3 11
anonymizeIp()
S
62 3 11
dispatch()
S
65 3 9
findPackage()
S
65 3 8
getIcons()
S
61 2 12
actionDownload()
S
62 2 11
getLogFileName()
S
68 2 7
enableLogRotation()
S
67 2 8
generateBannerUrl()
S
79 1 3
actionGetMetadata()
S
63 1 10
generateAssetUrl()
S
74 1 4
filterLogInfo()
S
82 1 3
generateDownloadUrl()
S
69 1 7
enableIpAnonymization()
S
81 1 3
checkAuthorization()
S
91 1 2
handleRequest()
S
64 1 10
filterMetadata()
S
71 1 6