MM_WPFS_Public_FormModel D

Total Complexity 197
Dependencies 16
Dependents 4
Total lines 1,221
Lines of code 687
Logical lines of code 333
Comment lines 311
Methods 94
Properties 50

Methods 94

Method Rating Maintainability Complexity Lines of code
getMetadata()
C
35 30 78
extractFormModelDataFromCheckoutSession()
B
41 18 53
getAddressArray()
A
51 12 25
updateBillingAddressByStripeAddressHash()
A
55 8 23
setStripeCustomer()
S
50 7 28
getCustomFieldsJSON()
S
54 7 19
bindByArray()
S
44 3 45
findIpAddress()
S
59 5 13
extractDiscountData()
S
58 4 15
updateShippingAddress()
S
59 4 14
extractFormModelDataFromPopupFormSubmit()
S
61 4 13
retrieveCouponOrPromotionalCode()
S
64 3 11
getPostData()
S
49 1 35
initShippingAddressCountryComposite()
S
66 3 9
initBillingAddressCountryComposite()
S
66 3 9
prepareStripeCoupon()
S
63 3 10
retrievePromotionalCode()
S
70 2 7
getDecodedCustomInputLabels()
S
69 2 7
getFormGetParametersAsArray()
S
75 2 4
retrieveCoupon()
S
70 2 7
prepareFormHash()
S
62 1 14
getBillingAddress()
S
64 1 12
getShippingAddress()
S
64 1 12
getSameBillingAndShippingAddress()
S
82 1 3
getBillingName()
S
82 1 3
setBillingName()
S
81 1 3
setStripePaymentMethod()
S
81 1 3
getShippingName()
S
82 1 3
getStripePaymentMethod()
S
82 1 3
getStripeCustomer()
S
82 1 3
setShippingName()
S
81 1 3
createCustomFieldObject()
S
67 1 8
getFormName()
S
82 1 3
__construct()
S
68 1 7
getProductName()
S
82 1 3
setProductName()
S
81 1 3
afterBind()
S
82 1 3
getShippingAddressCountryName()
S
82 1 3
setForm()
S
77 1 4
getCouponCode()
S
82 1 3
setCouponCode()
S
81 1 3
getStripeDiscountId()
S
82 1 3
setStripeDiscountId()
S
81 1 3
getStripeDiscountType()
S
82 1 3
setStripeDiscountType()
S
81 1 3
getStripeCoupon()
S
82 1 3
setStripeCoupon()
S
81 1 3
getStripeDiscount()
S
82 1 3
setStripeDiscount()
S
81 1 3
getForm()
S
82 1 3
getBillingAddressCountryComposite()
S
82 1 3
getShippingAddressCountryComposite()
S
82 1 3
getStripeSetupIntentId()
S
82 1 3
getBillingAddressLine1()
S
82 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
getStripePaymentIntentId()
S
82 1 3
getBillingAddressCity()
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
getBillingAddressLine2()
S
82 1 3
getBillingAddressState()
S
82 1 3
setBillingAddressCountryName()
S
81 1 3
getTransactionId()
S
82 1 3
getBillingAddressCountryName()
S
82 1 3
setBillingAddressCountryComposite()
S
81 1 3
bind()
S
77 1 4
setNonce()
S
81 1 3
getNonce()
S
82 1 3
setFormHash()
S
81 1 3
getFormHash()
S
82 1 3
setTransactionId()
S
81 1 3
getGoogleReCaptchaResponse()
S
82 1 3
getBillingAddressZip()
S
82 1 3
getTermsOfUseAccepted()
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
getIpAddress()
S
82 1 3