PayPal_Brasil_Plus_With_Orders_Gateway D

Total Complexity 199
Dependencies 9
Dependents 0
Total lines 1,381
Lines of code 967
Logical lines of code 506
Comment lines 205
Methods 25
Properties 0

Methods 25

Method Rating Maintainability Complexity Lines of code
process_payment()
D
19
48 226
get_posted_data()
D
29
36 110
validate_data()
B
42 21 46
create_payment_for_cart()
B
33 12 109
create_payment_for_order()
A
33 11 108
get_payer_info()
A
50 12 26
checkout_scripts()
A
47 7 31
admin_scripts()
S
47 6 32
get_payer_address()
S
51 6 27
process_refund()
S
50 6 26
is_available()
S
63 6 10
get_title()
S
61 5 11
wc_order_add_discount()
S
53 4 22
init_form_fields()
S
42 1 67
get_form_height()
S
62 5 10
__construct()
S
47 1 36
get_fields_values()
S
56 2 19
execute_payment()
S
54 1 22
before_process_admin_options()
S
65 2 9
get_woocommerce_country()
S
78 2 3
payment_fields()
S
79 1 3
admin_options()
S
79 1 3
get_log_view()
S
75 1 3
is_credentials_validated()
S
78 1 3
get_admin_options_template()
S
73 1 5