Puc_v4p2_UpdateChecker B

Total Complexity 91
Dependencies 7
Dependents 3
Total lines 821
Lines of code 349
Logical lines of code 178
Comment lines 351
Methods 37
Properties 11

Methods 37

Method Rating Maintainability Complexity Lines of code
fixDirectoryName()
S
48 6 37
injectTranslationUpdates()
S
50 6 29
__construct()
S
52 5 23
validateApiResponse()
S
54 5 21
getFileHeader()
S
54 5 20
loadTextDomain()
S
59 5 13
requestMetadata()
S
47 3 36
filterApplicableTranslations()
S
57 4 17
installHooks()
S
57 3 17
allowMetadataHost()
S
63 4 10
getUpdate()
S
64 4 10
injectUpdate()
S
61 3 13
checkForUpdates()
S
58 2 17
maybeInitDebugBar()
S
71 3 5
isBadDirectoryStructure()
S
63 3 10
isNotMyTranslation()
S
69 3 6
getInstalledTranslations()
S
66 2 9
removeUpdateFromList()
S
71 2 6
addUpdateToList()
S
67 2 8
getUniqueName()
S
68 2 7
triggerError()
S
74 2 5
filterUpdateResult()
S
68 2 7
isBeingUpgraded()
S
100 1 0
createDebugBarExtension()
S
80 1 3
userCanInstallUpdates()
S
100 1 0
getHeaderNames()
S
100 1 0
createScheduler()
S
100 1 0
getUpdateState()
S
81 1 3
clearCachedTranslationUpdates()
S
82 1 3
resetUpdateState()
S
82 1 3
requestUpdate()
S
100 1 0
getUpdateListKey()
S
100 1 0
getTranslationUpdates()
S
81 1 3
getInstalledVersion()
S
100 1 0
addFilter()
S
78 1 3
shouldShowUpdates()
S
82 1 3
onDisplayConfiguration()
S
91 1 2