Paypal_Brasil_BCDC_Gateway D

Total Complexity 226
Dependencies 11
Dependents 0
Total lines 1,768
Lines of code 1,208
Logical lines of code 558
Comment lines 242
Methods 33
Properties 4

Methods 33

Method Rating Maintainability Complexity Lines of code
process_payment()
D
22
42 192
create_payment_for_cart()
C
28
24 139
get_posted_data()
C
31 21 107
create_payment_for_cart_without_payer()
B
31 18 120
create_payment_for_order()
B
30 16 127
validate_data()
A
48 15 29
get_payer_info()
A
48 14 30
checkout_scripts()
A
36 8 88
process_refund()
A
44 8 44
admin_scripts()
S
47 6 32
create_webhooks()
S
50 6 29
get_payer_address()
S
51 6 27
is_available()
S
63 6 10
get_title()
S
61 5 11
init_form_fields()
S
43 1 60
is_only_payment_method_active()
S
61 4 12
__construct()
S
46 2 39
validate_address()
S
63 4 10
execute_payment()
S
51 2 28
get_fields_values()
S
57 1 18
get_woocommerce_country()
S
78 2 3
before_process_admin_options()
S
65 2 9
clear_all_sessions()
S
68 2 8
currency_is_allowed()
S
69 2 7
disable_checkout_terms_and_conditions()
S
83 1 3
is_credentials_validated()
S
78 1 3
is_first_load()
S
80 1 3
custom_checkout_field_validation()
S
79 1 3
payment_fields()
S
79 1 3
admin_options()
S
79 1 3
get_woocommerce_currency()
S
81 1 3
get_admin_options_template()
S
73 1 5
get_log_view()
S
75 1 3