PayPal_Brasil_Plus_Gateway D

Total Complexity 171
Dependencies 6
Dependents 0
Total lines 1,088
Lines of code 765
Logical lines of code 392
Comment lines 218
Methods 22
Properties 0

Methods 22

Method Rating Maintainability Complexity Lines of code
process_payment()
D
26
38 142
get_posted_data()
D
28
38 120
validate_data()
B
42 21 46
create_payment_for_order()
A
36 13 84
create_payment_for_cart()
A
36 12 84
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
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
admin_options()
S
79 1 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