MM_WPFS_Public_FormModel D

Total Complexity 213
Dependencies 16
Dependents 4
Total lines 1,372
Lines of code 729
Logical lines of code 354
Comment lines 314
Methods 99
Properties 52

Methods 99

Method Rating Maintainability Complexity Lines of code
getMetadata()
C
35 30 78
extractFormModelDataFromCheckoutSession()
B
41 18 54
getAddressArray()
A
51 12 25
updateBillingAddressByStripeAddressHash()
A
55 8 23
updateShippingAddressByStripeAddressHash()
A
55 8 23
extractDiscountData()
A
54 8 19
setStripeCustomer()
S
50 7 28
getCustomFieldsJSON()
S
54 7 19
bindByArray()
S
43 3 46
findIpAddress()
S
59 5 13
updateShippingAddress()
S
59 4 14
extractFormModelDataFromPopupFormSubmit()
S
61 4 13
retrieveCouponOrPromotionalCode()
S
64 3 11
getPostData()
S
49 1 36
initShippingAddressCountryComposite()
S
66 3 9
prepareStripeCoupon()
S
63 3 10
initBillingAddressCountryComposite()
S
66 3 9
retrieveCoupon()
S
70 2 7
retrievePromotionalCode()
S
70 2 7
getDecodedCustomInputLabels()
S
69 2 7
getFormGetParametersAsArray()
S
75 2 4
prepareFormHash()
S
62 1 14
getBillingAddress()
S
64 1 12
getShippingAddress()
S
64 1 12
setBillingName()
S
81 1 3
getShippingName()
S
82 1 3
getBillingName()
S
82 1 3
getStripeCustomer()
S
82 1 3
getSameBillingAndShippingAddress()
S
82 1 3
setStripePaymentMethod()
S
81 1 3
getStripePaymentMethod()
S
82 1 3
getFormName()
S
82 1 3
createCustomFieldObject()
S
67 1 8
getShippingAddressCountryName()
S
82 1 3
__construct()
S
68 1 7
getForm()
S
82 1 3
setShippingName()
S
81 1 3
setStripeDiscountId()
S
81 1 3
setStripeDiscount()
S
81 1 3
getStripeDiscount()
S
82 1 3
setStripeCoupon()
S
81 1 3
getStripeCoupon()
S
82 1 3
setStripeDiscountType()
S
81 1 3
getStripeDiscountType()
S
82 1 3
getStripeDiscountId()
S
82 1 3
getProductName()
S
82 1 3
setCouponCode()
S
81 1 3
getCouponCode()
S
82 1 3
setForm()
S
77 1 4
setBillingAddressCountryName()
S
81 1 3
afterBind()
S
82 1 3
setProductName()
S
81 1 3
getShippingAddressCountryComposite()
S
82 1 3
setFormHash()
S
81 1 3
getBillingAddressCountryName()
S
82 1 3
setStripePaymentMethodType()
S
81 1 3
getCustomInputvalues()
S
82 1 3
setCardHolderPhone()
S
81 1 3
getCardHolderPhone()
S
82 1 3
setCardHolderEmail()
S
81 1 3
getCardHolderEmail()
S
82 1 3
setCardHolderName()
S
81 1 3
getCardHolderName()
S
82 1 3
getStripePaymentMethodType()
S
82 1 3
getStripeSetupIntentId()
S
82 1 3
getBillingAddressLine1()
S
82 1 3
getStripePaymentIntentId()
S
82 1 3
getStripePaymentMethodId()
S
82 1 3
getReferrer()
S
82 1 3
getFormGetParameters()
S
82 1 3
getAction()
S
82 1 3
getData()
S
82 1 3
getStripe()
S
82 1 3
getDb()
S
82 1 3
detectIpAddress()
S
79 1 3
setCustomInputvalues()
S
81 1 3
getBillingAddressLine2()
S
82 1 3
setBillingAddressCountryComposite()
S
81 1 3
getTermsOfUseAccepted()
S
82 1 3
getBillingAddressCountryComposite()
S
82 1 3
setNonce()
S
81 1 3
getNonce()
S
82 1 3
bind()
S
77 1 4
getFormHash()
S
82 1 3
setTransactionId()
S
81 1 3
getTransactionId()
S
82 1 3
getGoogleReCaptchaResponse()
S
82 1 3
getFeeRecoveryAccepted()
S
82 1 3
getBillingAddressCity()
S
82 1 3
getShippingAddressCountry()
S
82 1 3
getShippingAddressZip()
S
82 1 3
getShippingAddressState()
S
82 1 3
getShippingAddressCity()
S
82 1 3
getShippingAddressLine2()
S
82 1 3
getShippingAddressLine1()
S
82 1 3
getBillingAddressCountry()
S
82 1 3
getBillingAddressZip()
S
82 1 3
getBillingAddressState()
S
82 1 3
getIpAddress()
S
82 1 3