GFSecureSubmit D

Total Complexity 316
Dependencies 50
Dependents 1
Total lines 2,901
Lines of code 1,771
Logical lines of code 752
Comment lines 688
Methods 83
Properties 21

Methods 83

Method Rating Maintainability Complexity Lines of code
authorizeCC()
D
23
39 181
authorizeACH()
B
32 15 109
validation()
B
43 18 46
subscribe()
A
36 11 82
normalizeCountry()
A
53 13 22
buildAddress()
A
50 12 27
sdkSettingsFields()
A
31 1 182
getStartDateInfo()
A
45 10 40
registerInitScripts()
A
41 7 55
maybe_validate()
A
52 9 22
replaceMergeTags()
A
53 9 21
feed_settings_fields()
A
36 4 92
create_plan()
A
46 7 36
normalizeState()
S
36 3 79
populateCreditCardLastFour()
S
58 7 14
get_hps_meta_data()
S
55 6 19
authorize()
S
55 6 18
scripts()
S
41 2 71
addSecureSubmitInputs()
S
57 5 16
rollbackPayPlanResources()
S
61 5 14
updateAuthorizationEntry()
S
62 5 11
getApiKey()
S
61 5 11
settings_trial()
S
48 3 33
ajaxValidateSecretApiKey()
S
58 4 16
get_validation_result()
S
58 4 14
create_customer()
S
51 3 26
get_submission_dataACH()
S
52 3 25
vmcSettingsFields()
S
46 1 50
createPaymentMethod()
S
55 3 20
buildCardHolder()
S
55 3 20
feed_list_message()
S
66 4 9
add_theme_scripts()
S
68 4 6
hps_add_cc_field()
S
59 3 14
hps_add_ach_field()
S
59 3 14
getRemoteIP()
S
61 3 12
buildCheckHolder()
S
56 2 18
validPayPlanCycle()
S
57 2 16
getLevelIICustomerPO()
S
69 3 6
sendEmail()
S
58 2 15
getAuthorizeOrCharge()
S
67 3 7
has_credit_card_fields()
S
68 3 7
processRecurring()
S
59 2 15
getLevelIITaxType()
S
69 3 6
getLevelIICustomerTaxAmount()
S
69 3 6
isFieldOnValidPage()
S
59 2 14
cancel()
S
60 2 13
get_level_ii_fields()
S
57 1 20
getPayPlanService()
S
69 2 7
getHpsServicesConfig()
S
64 2 10
supported_billing_intervals()
S
63 2 10
hasFeedCallback()
S
79 2 3
getSecureSubmitJsError()
S
69 2 7
get_instance()
S
71 2 6
hasPayment()
S
63 2 10
validateACH()
S
71 2 5
has_hps_payment_fields()
S
74 2 4
get_ach_field()
S
74 2 4
get_hpscredit_card_field()
S
74 2 4
get_address_card_field()
S
71 2 5
styles()
S
61 1 13
plugin_settings_fields()
S
63 1 12
init()
S
64 1 9
set_defaults()
S
76 1 10
init_ajax()
S
75 1 4
getIdentifier()
S
73 1 4
has_ach_field()
S
79 1 3
init_frontend()
S
72 1 5
getEnable3DSecure()
S
75 1 4
getEnable3DSecureApiIdentifier()
S
75 1 4
process_subscription()
S
64 1 10
includeSecureSubmitSDK()
S
75 1 4
getAllowLevelII()
S
75 1 4
getPublicApiKey()
S
79 1 3
addClientSideMergeTags()
S
76 1 4
getQueryStringApiKey()
S
80 1 3
getAllowPaymentActionOverride()
S
75 1 4
getAllowAPIKeysOverride()
S
75 1 4
getSecureSubmitJsResponse()
S
80 1 3
getSendEmail()
S
75 1 4
getSendEmailRecipientAddress()
S
75 1 4
getEnable3DSecureApiKey()
S
75 1 4
getEnable3DSecureOrgUnitId()
S
75 1 4
getSecretApiKey()
S
79 1 3