Blockonomics D

Total Complexity 185
Dependencies 3
Dependents 8
Total lines 1,016
Lines of code 758
Logical lines of code 439
Comment lines 108
Methods 58
Properties 1

Methods 58

Method Rating Maintainability Complexity Lines of code
test_one_crypto()
D
30 29 121
get_checkout_context()
A
45 13 38
new_address()
A
47 11 31
get_price()
A
51 9 24
getActiveCurrencies()
S
61 7 11
testSetup()
S
53 6 24
test_new_address_gen()
S
59 5 13
calculate_order_params()
S
63 5 11
decrypt_hash()
S
52 4 25
check_paid_amount()
S
52 4 24
get_error_context()
S
57 4 17
get_parameterized_wc_url()
S
63 5 9
get_order_checkout_url()
S
60 4 12
calculate_new_order_params()
S
52 3 23
post()
S
56 3 18
process_callback()
S
56 3 18
process_order()
S
59 3 15
update_paid_amount()
S
60 3 14
save_transaction()
S
61 3 12
record_address()
S
61 3 12
is_order_underpaid()
S
69 3 5
get_order_by_id_and_crypto()
S
60 2 15
get_checkout_script()
S
57 2 15
get_checkout_template()
S
68 3 7
check_callback_secret()
S
68 3 7
get()
S
59 2 14
create_new_order()
S
59 2 14
get_order_by_address()
S
62 2 11
set_headers()
S
66 2 9
create_and_insert_new_order_on_underpayment()
S
65 2 9
calculate_total_paid_fiat()
S
66 2 8
is_nojs_template()
S
70 2 6
encrypt_hash()
S
59 1 15
fix_displaying_small_values()
S
68 2 7
set_template_context()
S
73 2 5
add_blockonomics_checkout_style()
S
65 2 9
is_error_template()
S
70 2 6
get_callbacks()
S
68 2 7
getSupportedCurrencies()
S
61 1 14
get_order_amount_info()
S
60 1 13
is_nojs_active()
S
79 1 3
get_api_key()
S
76 1 4
__construct()
S
80 1 3
add_note_on_underpayment()
S
71 1 5
send_email_on_underpayment()
S
69 1 6
generate_qrcode_svg_element()
S
72 1 5
get_wc_order_received_url()
S
76 1 4
get_stores()
S
79 1 3
update_order()
S
68 1 8
insert_order()
S
66 1 9
redirect_finish_order()
S
73 1 5
is_partial_payments_active()
S
79 1 3
load_checkout_template()
S
68 1 7
update_store()
S
73 1 4
get_crypto_payment_uri()
S
78 1 3
get_crypto_rate_from_params()
S
77 1 3
load_blockonomics_template()
S
66 1 8
get_order_paid_fiat()
S
67 1 7