wc_BBFM_payment A

Total Complexity 71
Dependencies 1
Dependents 0
Total lines 669
Lines of code 356
Logical lines of code 226
Comment lines 80
Methods 19
Properties 2

Methods 19

Method Rating Maintainability Complexity Lines of code
handle_bbfm_notifications()
C
33 22 92
make_cashback_api_request()
A
38 7 70
check_order_byteball_address()
S
60 7 13
__construct()
S
52 4 24
load_paybutton_scripts()
S
53 4 24
customize_curl_options()
S
60 4 14
new_order_customer_notification()
S
65 4 8
ask_payment()
S
57 2 16
display_total_in_byteball()
S
67 3 7
render_paybutton()
S
61 2 11
set_payment_data()
S
53 1 23
sanitize_and_register_input()
S
69 2 6
bbfm_callback_secret()
S
63 2 10
display_unit_byteball_explorer_link()
S
69 2 6
add_customer_byteball_address_field()
S
60 1 13
add_invalid_class_to_byteball_address_field()
S
72 1 5
display_admin_order_byteball_address()
S
77 1 3
return_error()
S
69 1 7
woocommerce_add_bbfm_gateway()
S
77 1 4