Woocommerce\Pagarme\Model\Gateway S

Total Complexity 47
Dependencies 9
Dependents 9
Total lines 295
Lines of code 174
Logical lines of code 88
Comment lines 44
Methods 21
Properties 1

Methods 21

Method Rating Maintainability Complexity Lines of code
render_installments_options()
A
48 8 34
getPayments()
S
59 4 14
_calc_installments_2()
S
59 3 13
getPaymentInstace()
S
64 3 9
is_sandbox_mode()
S
69 3 6
verifyInterest()
S
71 3 6
__construct()
S
72 2 6
autoLoad()
S
73 2 5
get_hub_url()
S
73 2 5
get_hub_button_text()
S
72 2 5
getInstallmentsMaximumQuantity()
S
80 2 3
getSoftDescriptorMaxLength()
S
80 2 3
getInstallmentOptions()
S
67 2 8
getConfigDataProvider()
S
67 2 8
get_installments_by_type()
S
59 1 13
get_hub_integrate_url()
S
63 1 12
supported_currency()
S
80 1 3
_calc_installments_1()
S
74 1 4
get_hub_app_id()
S
81 1 3
get_hub_view_integration_url()
S
71 1 7
get_hub_install_token()
S
69 1 7