MM_WPFS_FormView D

Total Complexity 157
Dependencies 12
Dependents 2
Total lines 1,123
Lines of code 757
Logical lines of code 307
Comment lines 194
Methods 64
Properties 36

Methods 64

Method Rating Maintainability Complexity Lines of code
prepareAddresses()
C
25
17 214
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
__construct()
S
41 1 65
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
_formName()
S
77 3 3
containsAmountMacro()
S
77 2 3
getInlineBillingAddressFields()
S
61 1 13
getInlineShippingAddressFields()
S
61 1 13
getFields()
S
62 1 12
getPopupBillingAddressFields()
S
63 1 11
getFormHash()
S
64 1 11
shippingAddressLine1()
S
82 1 3
shippingAddressCountry()
S
82 1 3
shippingAddressLine2()
S
82 1 3
shippingName()
S
82 1 3
shippingAddressCity()
S
82 1 3
shippingAddressState()
S
82 1 3
shippingAddressStateSelect()
S
82 1 3
shippingAddressZip()
S
82 1 3
prepareCountryFilterParams()
S
71 1 6
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
billingAddressCountry()
S
82 1 3
getDefaultBillingCountry()
S
82 1 3
getDefaultShippingCountry()
S
82 1 3
shippingAddressPanel()
S
82 1 3
billingName()
S
82 1 3
billingAddressZip()
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
tOUAccepted()
S
82 1 3
submitButton()
S
82 1 3
addressSwitcher()
S
82 1 3
billingAddressStateSelect()
S
82 1 3
billingAddressRadio()
S
82 1 3
shippingAddressRadio()
S
82 1 3
billingAddressPanel()
S
82 1 3
prepareBillingCountryOptions()
S
79 1 3
billingAddressLine1()
S
82 1 3
billingAddressLine2()
S
82 1 3
billingAddressCity()
S
82 1 3
billingAddressState()
S
82 1 3
sameBillingAndShippingAddress()
S
82 1 3