PayPal_Brasil_Plus_Gateway D

Total Complexity 188
Dependencies 8
Dependents 0
Total lines 1,303
Lines of code 895
Logical lines of code 494
Comment lines 235
Methods 23
Properties 0

Methods 23

Method Rating Maintainability Complexity Lines of code
process_payment()
D
19
48 222
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
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