Code Analysis: WordPress Bitcoin Payments - Blockonomics 3.7.0

Function Rating Maintainability Complexity Lines of code
QRCode::qr_create_matrix()
D
34 41 78
show_options()
C
25
21 218
blockonomics_woocommerce_init()
C
17
2 448
QRCode::qr_encode_data()
B
42 21 45
QRrsItem::init_rs_char()
B
40 19 55
QRCode::qr_penalty_3()
B
50 20 24
QRmask::evaluateSymbol()
B
43 17 53
WC_Gateway_Blockonomics::handle_requests()
B
50 18 23
QRCode::qr_encode_kanji()
B
42 16 50
QRmask::calcN1N3()
A
51 15 24
QRencode::factory()
A
48 13 33
QRCode::qr_penalty_2()
A
55 14 17
QRCode::qr_penalty_1()
A
49 13 30
QRcode::encodeMask()
A
41 11 53
FrameFiller::next()
A
45 11 44
QRinput::lengthOfCode()
A
46 11 38
Blockonomics::get_checkout_context()
A
47 11 34
Blockonomics::examine_server_callback_urls()
A
48 11 31
QRsplit::eat8()
A
45 10 46
QRspec::createFrame()
A
43 9 51
QRsplit::identifyMode()
A
53 10 20
QRinputItem::encodeBitStream()
A
48 9 33
QRCode::qr_encode_numeric()
A
45 8 42
QRsplit::eatAn()
A
48 8 36
QRsplit::splitString()
A
54 9 21
QRCode::qr_mask()
A
55 9 20
add_payment_page_shortcode()
A
54 9 18
QRinput::appendPaddingBit()
A
49 8 29
QRmask::makeMaskNo()
A
49 8 29
add_page()
A
50 8 28
QRCode::qr_encode_alphanumeric()
A
43 6 51
QRmask::writeFormatInformation()
A
48 7 35
QRspec::putAlignmentPattern()
A
49 7 31
QRrs::init_rs()
S
58 8 14
QRsplit::eatNum()
S
50 7 29
QRvect::vectEPS()
S
41 5 56
Blockonomics::new_address()
S
51 7 25
bnomics_display_payment_details()
S
50 7 25
QRspec::newFrame()
S
54 7 20
QRinputItem::estimateBitStreamSizeOfEntry()
S
54 7 19
QRCode::qr_finalize_matrix()
S
44 5 48
QRinput::check()
S
59 7 14
QRinput::checkModeKanji()
S
59 7 13
QRbitstream::toByte()
S
51 6 28
Blockonomics::make_withdraw()
S
51 6 25
WC_Gateway_Blockonomics::__construct()
S
47 5 38
QRvect::vectSVG()
S
46 5 38
WC_Blockonomics_Blocks_Support::get_payment_method_script_handles()
S
53 6 22
QRCode::qr_encode_binary()
S
47 5 37
QRtools::tcpdfBarcodeArray()
S
53 6 21
QRinput::convertData()
S
55 6 20
QRCode::qr_encode_ec()
S
48 5 34
Blockonomics::get_price()
S
56 6 17
QRmask::mask()
S
48 5 31
QRrawcode::init()
S
49 5 31
QRspec::debug()
S
45 4 45
QRrsItem::encode_rs_char()
S
49 5 29
QRinputItem::encodeModeNum()
S
50 5 27
QRCode::qr_ec_divide()
S
55 5 19
update_payment_url_on_underpayments()
S
57 5 18
QRspec::maximumWords()
S
57 5 17
QRinput::insertStructuredAppendHeader()
S
57 5 16
QRsplit::toUpper()
S
57 5 16
QRCode::qr_ec_interleave()
S
59 5 15
QRCode::qr_penalty_4()
S
57 5 15
QRmask::generateMaskNo()
S
58 5 14
QRCode::dispatch_encode()
S
59 5 14
QRcode::encodeString()
S
59 5 13
QRCode::qr_apply_mask()
S
61 5 12
QRimage::image()
S
50 4 27
Blockonomics::calculate_order_params()
S
63 5 11
Blockonomics::getActiveCurrencies()
S
62 5 11
Blockonomics::decrypt_hash()
S
52 4 25
Blockonomics::check_paid_amount()
S
52 4 24
QRinputItem::encodeModeKanji()
S
52 4 22
QRinputItem::encodeModeAn()
S
53 4 21
QRrawcode::getCode()
S
56 4 19
QRbitstream::newFromBytes()
S
56 4 18
QRtools::buildCache()
S
56 4 16
Blockonomics::get_parameterized_wc_url()
S
63 5 9
QRsplit::splitStringToQRinput()
S
63 5 9
QRspec::getFormatInfo()
S
68 5 7
QRbitstream::append()
S
60 4 14
QRcode::encodeString8bit()
S
59 4 14
Blockonomics::check_get_callbacks_response_body()
S
60 4 13
QRinput::mergeBitStream()
S
61 4 13
QRCode::createSVG()
S
59 4 13
QRspec::lengthIndicator()
S
62 4 12
Blockonomics::get_order_checkout_url()
S
60 4 12
Blockonomics::check_callback_urls_or_set_one()
S
61 4 12
QRinput::calcParity()
S
62 4 11
QRtools::log()
S
62 4 11
Blockonomics::check_get_callbacks_response_code()
S
62 4 11
Blockonomics::calculate_new_order_params()
S
52 3 23
QRtools::timeBenchmark()
S
54 3 22
QRspec::getEccSpec()
S
54 3 22
filter_orders_by_address_or_txid()
S
55 3 20
blockonomics_plugin_activation()
S
56 3 20
QRrawcode::__construct()
S
55 3 20
Blockonomics::post()
S
56 3 18
WC_Blockonomics_Blocks_Support::get_icons()
S
56 3 18
Blockonomics::process_callback()
S
56 3 18
QRvect::eps()
S
57 3 17
QRimage::png()
S
58 3 16
QRinput::checkModeNum()
S
65 4 8
QRinput::estimateBitsModeNum()
S
59 3 15
QRtools::binarize()
S
64 4 9
QRCode::qr_detect_version()
S
63 4 10
Blockonomics::process_order()
S
59 3 15
QRvect::svg()
S
59 3 15
Blockonomics::update_paid_amount()
S
59 3 15
QRCode::qr_detect_mode()
S
64 4 9
QRCode::qr_apply_best_mask()
S
59 3 15
QRinput::__construct()
S
68 4 7
QRencode::encodeSVG()
S
58 3 14
QRbitstream::newFromNum()
S
59 3 14
QRencode::encode()
S
59 3 14
QRencode::encodeEPS()
S
58 3 14
QRencode::encodePNG()
S
58 3 14
QRinputItem::encodeMode8()
S
59 3 14
QRinput::estimateVersion()
S
60 3 13
Blockonomics::update_callback()
S
59 3 13
QRCode::qr_ec_split()
S
60 3 13
QRinputItem::__construct()
S
59 3 13
Blockonomics::save_transaction()
S
61 3 12
blockonomics_run_db_updates()
S
62 3 12
Blockonomics::record_address()
S
61 3 12
Blockonomics::test_one_crypto()
S
63 3 12
Blockonomics::get_error_context()
S
62 3 11
QRinput::getBitStream()
S
64 3 11
woocommerce_gateway_blockonomics_woocommerce_block_support()
S
55 2 21
qrstr::set()
S
75 3 3
QRbitstream::appendBytes()
S
64 3 10
QRsplit::isdigitat()
S
71 3 5
Blockonomics::get_checkout_template()
S
68 3 7
Blockonomics::is_order_underpaid()
S
69 3 5
QRtools::dumpMask()
S
66 3 8
QRsplit::eatKanji()
S
63 3 10
Blockonomics::update_temp_draw_amount()
S
68 3 7
Blockonomics::get_checkout_script()
S
57 2 15
QRspec::getMinimumVersion()
S
65 3 8
QRspec::getVersionPattern()
S
72 3 5
Blockonomics::check_callback_secret()
S
68 3 7
QRinput::setVersion()
S
66 3 8
Blockonomics::get_order_by_id_and_crypto()
S
60 2 15
QRinput::checkModeAn()
S
65 3 8
QRinput::createBitStream()
S
64 3 10
Blockonomics::create_new_order()
S
59 2 15
QRbitstream::appendNum()
S
64 3 10
filter_orders()
S
65 3 9
generate_secret()
S
68 3 7
blockonomics_update_db_check()
S
63 3 10
QRspec::putFinderPattern()
S
60 2 14
Blockonomics::get()
S
59 2 14
blockonomics_create_payment_page()
S
61 2 14
QRspec::putAlignmentMarker()
S
59 2 14
QRinputItem::encodeModeStructure()
S
60 2 13
Blockonomics::get_order_by_address()
S
62 2 11
bnomics_display_tx_info()
S
62 2 11
blockonomics_create_table()
S
56 1 22
WC_Gateway_Blockonomics::init_form_fields()
S
55 1 22
blockonomics_uninstall_hook()
S
55 1 21
Blockonomics::set_template_context()
S
73 2 5
blockonomics_load_admin_scripts()
S
71 2 5
blockonomics_activation_hook()
S
68 2 7
QRinput::getByteStream()
S
69 2 7
Blockonomics::encrypt_hash()
S
59 1 15
QRtools::save()
S
63 2 10
Blockonomics::is_error_template()
S
70 2 6
QRimage::jpg()
S
63 2 10
QRinput::estimateBitStreamSize()
S
69 2 7
QRencode::encodeRAW()
S
65 2 9
QRsplit::isalnumat()
S
71 2 5
QRinput::estimateBitsModeAn()
S
66 2 8
Blockonomics::get_callbacks()
S
65 2 9
Blockonomics::testSetup()
S
67 2 8
WC_Gateway_Blockonomics::process_admin_options()
S
74 2 5
QRinput::lookAnTable()
S
77 2 3
QRtools::markTime()
S
67 2 7
Blockonomics::add_blockonomics_checkout_style()
S
65 2 9
QRmask::serial()
S
69 2 6
Blockonomics::fix_displaying_small_values()
S
68 2 7
QRCode::__construct()
S
66 2 8
QRinput::append()
S
65 2 9
QRmask::unserial()
S
67 2 7
QRrsItem::modnn()
S
68 2 7
Blockonomics::is_nojs_template()
S
70 2 6
Blockonomics::create_and_insert_new_order_on_underpayment()
S
65 2 9
Blockonomics::set_headers()
S
70 2 7
Blockonomics::calculate_total_paid_fiat()
S
66 2 8
Blockonomics::test_new_address_gen()
S
65 2 9
Blockonomics::get_api_key()
S
68 2 8
QRinput::setErrorCorrectionLevel()
S
67 2 8
Blockonomics::getSupportedCurrencies()
S
61 1 14
Blockonomics::get_order_amount_info()
S
60 1 13
QRCode::qr_encode()
S
60 1 13
Blockonomics::is_nojs_active()
S
79 1 3
QRspec::rsBlockNum1()
S
90 1 1
QRspec::rsDataLength()
S
87 1 1
QRmask::mask3()
S
89 1 1
Blockonomics::__construct()
S
80 1 3
Blockonomics::update_order()
S
68 1 8
QRmask::mask1()
S
90 1 1
WC_Gateway_Blockonomics::process_payment()
S
66 1 9
bnomics_register_stylesheets()
S
77 1 3
QRcode::raw()
S
74 1 4
WC_Blockonomics_Blocks_Support::initialize()
S
79 1 3
WC_Blockonomics_Blocks_Support::get_payment_method_data()
S
66 1 9
success_message()
S
78 1 3
QRinput::getVersion()
S
82 1 3
QRmask::mask6()
S
88 1 1
WC_Blockonomics_Blocks_Support::get_enable_for_virtual()
S
78 1 3
Blockonomics::add_note_on_underpayment()
S
71 1 5
QRbitstream::allocate()
S
75 1 4
QRinput::appendEntry()
S
80 1 3
QRspec::getECCLength()
S
78 1 3
Blockonomics::get_temp_api_key()
S
65 1 8
bnomics_register_scripts()
S
68 1 6
QRspec::rsDataCodes2()
S
90 1 1
QRspec::getDataLength()
S
77 1 3
Blockonomics::load_blockonomics_template()
S
66 1 8
QRCode::qr_penalty()
S
68 1 7
nolo_custom_field_display_cust_order_meta()
S
82 1 3
FrameFiller::getFrameAt()
S
78 1 3
QRspec::rsBlockNum2()
S
90 1 1
QRmask::mask4()
S
87 1 1
QRspec::getWidth()
S
79 1 3
QRinput::estimateBitsModeKanji()
S
78 1 3
Blockonomics::redirect_finish_order()
S
73 1 5
QRspec::rsBlockNum()
S
89 1 1
Blockonomics::insert_order()
S
66 1 9
QRbitstream::size()
S
80 1 3
Blockonomics::generate_qrcode_svg_element()
S
72 1 5
Blockonomics::get_wc_order_received_url()
S
76 1 4
QRmask::mask7()
S
88 1 1
woocommerce_add_blockonomics_gateway()
S
77 1 4
QRcode::encodeInput()
S
79 1 3
QRspec::rsDataCodes1()
S
90 1 1
FrameFiller::setFrameAt()
S
78 1 3
Blockonomics::get_crypto_payment_uri()
S
78 1 3
QRcode::png()
S
73 1 4
QRspec::rsEccLength()
S
88 1 1
QRCode::svg()
S
79 1 3
Blockonomics::is_partial_payments_active()
S
79 1 3
WC_Blockonomics_Blocks_Support::is_active()
S
78 1 3
QRcode::text()
S
74 1 4
QRmask::__construct()
S
78 1 3
Blockonomics::load_checkout_template()
S
68 1 7
QRspec::getRemainder()
S
79 1 3
Blockonomics::send_email_on_underpayment()
S
69 1 6
QRcode::eps()
S
73 1 4
get_callback_url()
S
70 1 6
QRmask::mask0()
S
89 1 1
display_admin_message()
S
79 1 3
QRspec::rsEccCodes1()
S
90 1 1
QRspec::serial()
S
78 1 3
Blockonomics::get_order_paid_fiat()
S
67 1 7
bnomics_exclude_pages()
S
76 1 4
QRsplit::__construct()
S
74 1 5
Blockonomics::get_crypto_rate_from_params()
S
77 1 3
load_plugin_translations()
S
78 1 3
QRmask::makeMask()
S
69 1 6
QRinput::getErrorCorrectionLevel()
S
82 1 3
QRmask::mask2()
S
90 1 1
QRrsblock::__construct()
S
69 1 7
nolo_bnomics_woocommerce_email_customer_details()
S
82 1 3
QRspec::rsEccCodes2()
S
90 1 1
QRmask::mask5()
S
88 1 1
blockonomics_plugin_add_settings_link()
S
72 1 5
QRcode::svg()
S
73 1 4
error_message()
S
67 1 8
FrameFiller::__construct()
S
67 1 8
blockonomics_plugin_setup()
S
79 1 4
QRspec::unserial()
S
78 1 3
QRtools::clearCache()
S
80 1 3
QRinput::estimateBitsMode8()
S
80 1 3
get_started_message()
S
65 1 9