MM_WPFS_FormView D

Total Complexity 168
Dependencies 13
Dependents 2
Total lines 1,174
Lines of code 787
Logical lines of code 325
Comment lines 203
Methods 66
Properties 37

Methods 66

Method Rating Maintainability Complexity Lines of code
prepareAddresses()
C
25
17 214
__construct()
A
36 8 84
getFormAttributes()
A
46 11 36
showAnyAddress()
A
57 9 19
getSubmitButtonRawCaptionForForm()
A
56 9 19
prepareCountryOptions()
A
46 7 43
prepareCustomInputs()
A
49 7 31
showAddressSwitcher()
S
60 8 13
prepareStateOptions()
S
48 5 36
prepareFilteredCountryOptions()
S
57 5 16
calculateGrossAmountForComponent()
S
59 5 15
isCouponFieldVisible()
S
67 5 7
calculateGrossAmount()
S
61 4 13
configureCustomAmountControl()
S
61 4 12
configureTextControl()
S
64 4 10
insertAmountIntoLabel()
S
61 3 12
getFormName()
S
78 3 3
inheritDefaultCountry()
S
68 3 7
_formName()
S
77 3 3
containsAmountMacro()
S
77 2 3
getInlineBillingAddressFields()
S
61 1 13
getFields()
S
61 1 13
getInlineShippingAddressFields()
S
61 1 13
getPopupBillingAddressFields()
S
63 1 11
getFormHash()
S
64 1 11
shippingName()
S
82 1 3
shippingAddressZip()
S
82 1 3
shippingAddressLine1()
S
82 1 3
shippingAddressPanel()
S
82 1 3
shippingAddressLine2()
S
82 1 3
shippingAddressCity()
S
82 1 3
shippingAddressState()
S
82 1 3
shippingAddressStateSelect()
S
82 1 3
prepareCountryFilterParams()
S
71 1 6
shippingAddressCountry()
S
82 1 3
formAttributes()
S
76 1 4
action()
S
82 1 3
formName()
S
82 1 3
formGetParameters()
S
82 1 3
getCurrentVATPercent()
S
82 1 3
billingAddressZip()
S
82 1 3
getDefaultBillingCountry()
S
82 1 3
getDefaultShippingCountry()
S
82 1 3
billingAddressCountry()
S
82 1 3
billingAddressPanel()
S
82 1 3
billingAddressStateSelect()
S
82 1 3
getFieldConfiguration()
S
82 1 3
prepareShippingCountryOptions()
S
79 1 3
getSubmitButtonCaptionForForm()
S
75 1 4
isCheckoutForm()
S
79 1 3
getInlineSameBillingAndShippingAddressField()
S
74 1 5
customInputs()
S
82 1 3
coupon()
S
82 1 3
feeRecoveryAccepted()
S
82 1 3
tOUAccepted()
S
82 1 3
sameBillingAndShippingAddress()
S
82 1 3
billingAddressState()
S
82 1 3
addressSwitcher()
S
82 1 3
billingAddressRadio()
S
82 1 3
shippingAddressRadio()
S
82 1 3
prepareBillingCountryOptions()
S
79 1 3
billingName()
S
82 1 3
billingAddressLine1()
S
82 1 3
billingAddressLine2()
S
82 1 3
billingAddressCity()
S
82 1 3
submitButton()
S
82 1 3