PayPal_Brasil_Plus_Gateway D

Total Complexity 173
Dependencies 8
Dependents 0
Total lines 1,175
Lines of code 829
Logical lines of code 441
Comment lines 210
Methods 23
Properties 0

Methods 23

Method Rating Maintainability Complexity Lines of code
process_payment()
D
22
39 190
get_posted_data()
D
29
35 110
validate_data()
B
42 21 46
create_payment_for_order()
A
35 13 87
create_payment_for_cart()
A
36 12 85
checkout_scripts()
S
48 7 30
admin_scripts()
S
48 6 31
process_refund()
S
51 6 24
is_available()
S
63 6 10
get_title()
S
61 5 11
init_form_fields()
S
42 1 67
wc_order_add_discount()
S
53 4 22
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