postaffiliatepro C

Total Complexity 107
Dependencies 15
Dependents 22
Total lines 573
Lines of code 463
Logical lines of code 307
Comment lines 14
Methods 40
Properties 0

Methods 40

Method Rating Maintainability Complexity Lines of code
resolveFirstAndLastName()
A
52 11 26
onUpdateExistingUser()
A
45 9 41
onNewUserRegistration()
S
51 6 27
initAffiliate()
S
54 6 20
insertIntegrationCodeToFooter()
S
54 5 21
getRemoteIp()
S
57 5 16
processCampaigns()
S
59 5 14
setStatusToAffiliate()
S
54 4 20
resolveParentAffiliateFromCookie()
S
56 4 18
addHiddenFieldToPaymentForm()
S
55 3 20
setParentToAffiliate()
S
65 4 9
addHiddenFieldToRegistrationForm()
S
59 3 14
parseSaleScriptPath()
S
61 3 11
getPAPTrackJSAsyncCode()
S
59 2 17
getCampaignOption()
S
64 3 10
isHashed()
S
68 3 7
assignToCampaign()
S
67 3 7
addPrimaryConfigMenu()
S
58 2 13
__construct()
S
62 2 12
initForms()
S
52 1 27
initSettings()
S
57 1 18
initAdminHeader()
S
71 2 6
parseServerPathForClickTrackingCode()
S
66 2 8
getPAPTrackJSDynamicCode()
S
66 2 9
initPlugin()
S
59 1 13
printAdditionalOptionsPage()
S
74 1 5
printClickTrackingConfigPage()
S
74 1 5
printSignupConfigPage()
S
74 1 5
printGeneralConfigPage()
S
77 1 4
addSettingsLinkIntoPlugin()
S
77 1 3
afterUpdateMaintenance()
S
74 1 4
initWidgets()
S
80 1 3
initShortcodes()
S
77 1 4
initUtils()
S
71 1 6
includePapApiFile()
S
80 1 3
apiFileExists()
S
79 1 3
getPapIconURL()
S
80 1 3
onNewUserRegistrationWoo()
S
81 1 3
signupIntegrationEnabled()
S
79 1 3
printIntegrationsConfigPage()
S
74 1 5