Paypal_Brasil_BCDC_Gateway D

Total Complexity 210
Dependencies 9
Dependents 0
Total lines 1,561
Lines of code 1,085
Logical lines of code 522
Comment lines 223
Methods 31
Properties 2

Methods 31

Method Rating Maintainability Complexity Lines of code
process_payment()
D
21
45 206
get_posted_data()
D
32 32 87
validate_data()
B
40 23 54
create_payment_for_cart()
B
32 13 112
create_payment_for_order()
B
32 12 115
get_payer_info()
A
50 12 26
checkout_scripts()
A
36 8 86
process_refund()
A
44 8 44
admin_scripts()
S
46 6 37
create_webhooks()
S
50 6 29
get_payer_address()
S
51 6 27
init_form_fields()
S
38 1 87
is_available()
S
63 6 10
get_title()
S
61 5 11
get_button_height()
S
62 5 10
__construct()
S
45 2 43
get_fields_values()
S
54 2 23
execute_payment()
S
54 1 22
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_first_load()
S
80 1 3
is_credentials_validated()
S
78 1 3
custom_checkout_field_validation()
S
79 1 3
admin_options()
S
79 1 3
get_woocommerce_currency()
S
81 1 3
payment_fields()
S
79 1 3
get_admin_options_template()
S
73 1 5
get_log_view()
S
75 1 3