PayPal_Brasil_Plus_Gateway D

Total Complexity 191
Dependencies 10
Dependents 0
Total lines 1,339
Lines of code 923
Logical lines of code 505
Comment lines 235
Methods 23
Properties 0

Methods 23

Method Rating Maintainability Complexity Lines of code
process_payment()
D
19
49 230
get_posted_data()
D
29 35 108
create_payment_for_cart()
B
31 17 111
validate_data()
B
42 21 46
create_payment_for_order()
B
34 14 97
process_refund()
A
44 8 43
checkout_scripts()
A
47 7 31
admin_scripts()
S
47 6 32
is_available()
S
63 6 10
get_title()
S
61 5 11
init_form_fields()
S
42 1 67
wc_order_add_discount()
S
54 4 21
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
get_log_view()
S
75 1 3
get_admin_options_template()
S
73 1 5
is_credentials_validated()
S
78 1 3
admin_options()
S
79 1 3