Code Analysis: WordPress Bitcoin Payments - Blockonomics 3.6.2

Function Rating Maintainability Complexity Lines of code
QRCode::qr_create_matrix()
D
34 41 78
show_options()
C
25
21 222
blockonomics_woocommerce_init()
C
19
2 400
WC_Gateway_Blockonomics::handle_requests()
B
45 24 32
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
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
QRsplit::eat8()
A
45 10 46
Blockonomics::examine_server_callback_urls()
A
48 11 31
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
Blockonomics::get_checkout_context()
A
50 9 26
QRsplit::eatAn()
A
48 8 36
QRsplit::splitString()
A
54 9 21
QRCode::qr_mask()
A
55 9 20
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
QRsplit::eatNum()
S
50 7 29
QRrs::init_rs()
S
58 8 14
QRvect::vectEPS()
S
41 5 56
Blockonomics::new_address()
S
51 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
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
Blockonomics::load_blockonomics_header()
S
53 5 26
QRCode::qr_ec_divide()
S
55 5 19
QRspec::maximumWords()
S
57 5 17
QRsplit::toUpper()
S
57 5 16
QRinput::insertStructuredAppendHeader()
S
57 5 16
QRCode::qr_ec_interleave()
S
59 5 15
QRCode::qr_penalty_4()
S
57 5 15
QRCode::dispatch_encode()
S
59 5 14
QRmask::generateMaskNo()
S
58 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 23
QRinputItem::encodeModeKanji()
S
52 4 22
bnomics_display_tx_info()
S
53 4 21
QRinputItem::encodeModeAn()
S
53 4 21
QRrawcode::getCode()
S
56 4 19
QRbitstream::newFromBytes()
S
56 4 18
QRtools::buildCache()
S
56 4 16
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
Blockonomics::check_get_callbacks_response_code()
S
62 4 11
QRtools::log()
S
62 4 11
QRinput::calcParity()
S
62 4 11
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
Blockonomics::calculate_new_order_params()
S
56 3 17
QRvect::eps()
S
57 3 17
QRimage::png()
S
58 3 16
QRCode::qr_detect_version()
S
63 4 10
QRinput::__construct()
S
68 4 7
QRCode::qr_apply_best_mask()
S
59 3 15
QRinput::checkModeNum()
S
65 4 8
QRinput::estimateBitsModeNum()
S
59 3 15
QRvect::svg()
S
59 3 15
QRtools::binarize()
S
64 4 9
QRCode::qr_detect_mode()
S
64 4 9
Blockonomics::get_parameterized_wc_url()
S
64 4 9
Blockonomics::process_order()
S
59 3 15
Blockonomics::update_paid_amount()
S
59 3 15
QRbitstream::newFromNum()
S
59 3 14
Blockonomics::process_callback()
S
59 3 14
QRencode::encode()
S
59 3 14
QRencode::encodePNG()
S
58 3 14
QRencode::encodeEPS()
S
58 3 14
QRencode::encodeSVG()
S
58 3 14
QRinputItem::encodeMode8()
S
59 3 14
QRinput::estimateVersion()
S
60 3 13
QRinputItem::__construct()
S
59 3 13
QRCode::qr_ec_split()
S
60 3 13
Blockonomics::update_callback()
S
59 3 13
Blockonomics::test_one_crypto()
S
63 3 12
QRinput::getBitStream()
S
64 3 11
Blockonomics::get_error_context()
S
62 3 11
Blockonomics::save_transaction()
S
62 3 11
QRspec::getMinimumVersion()
S
65 3 8
Blockonomics::get_checkout_script()
S
57 2 15
QRsplit::isdigitat()
S
71 3 5
QRtools::dumpMask()
S
66 3 8
filter_orders()
S
65 3 9
Blockonomics::is_order_underpaid()
S
69 3 5
Blockonomics::get_checkout_template()
S
68 3 7
QRspec::getVersionPattern()
S
72 3 5
QRsplit::eatKanji()
S
63 3 10
Blockonomics::check_callback_secret()
S
68 3 7
Blockonomics::update_temp_draw_amount()
S
68 3 7
QRinput::createBitStream()
S
64 3 10
QRbitstream::appendBytes()
S
64 3 10
Blockonomics::record_address()
S
63 3 10
qrstr::set()
S
75 3 3
bnomics_async_scripts()
S
66 3 8
QRbitstream::appendNum()
S
64 3 10
generate_secret()
S
68 3 7
QRinput::checkModeAn()
S
65 3 8
Blockonomics::create_new_order()
S
59 2 15
blockonomics_update_db_check()
S
65 3 9
QRinput::setVersion()
S
66 3 8
QRspec::putAlignmentMarker()
S
59 2 14
Blockonomics::get()
S
59 2 14
QRspec::putFinderPattern()
S
60 2 14
QRinputItem::encodeModeStructure()
S
60 2 13
Blockonomics::load_blockonomics_template()
S
61 2 12
Blockonomics::get_order_by_address()
S
62 2 11
Blockonomics::get_order_by_id_and_crypto()
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
56 1 19
QRinput::lookAnTable()
S
77 2 3
QRimage::jpg()
S
63 2 10
Blockonomics::is_error_template()
S
70 2 6
QRmask::unserial()
S
67 2 7
Blockonomics::load_blockonomics_footer()
S
75 2 5
QRsplit::isalnumat()
S
71 2 5
QRrsItem::modnn()
S
68 2 7
QRinput::append()
S
65 2 9
Blockonomics::set_template_context()
S
73 2 5
QRtools::markTime()
S
67 2 7
Blockonomics::create_and_insert_new_order_on_underpayment()
S
65 2 9
QRmask::serial()
S
69 2 6
QRinput::getByteStream()
S
69 2 7
QRtools::save()
S
63 2 10
Blockonomics::testSetup()
S
67 2 8
Blockonomics::set_headers()
S
70 2 7
blockonomics_activation_hook()
S
68 2 7
Blockonomics::fix_displaying_small_values()
S
68 2 7
Blockonomics::encrypt_hash()
S
59 1 15
QRCode::__construct()
S
66 2 8
QRinput::estimateBitsModeAn()
S
66 2 8
Blockonomics::is_nojs_template()
S
70 2 6
Blockonomics::get_api_key()
S
68 2 8
Blockonomics::test_new_address_gen()
S
65 2 9
Blockonomics::get_callbacks()
S
65 2 9
blockonomics_load_admin_scripts()
S
71 2 5
blockonomics_run_db_updates()
S
67 2 8
QRencode::encodeRAW()
S
65 2 9
WC_Gateway_Blockonomics::process_admin_options()
S
74 2 5
QRinput::estimateBitStreamSize()
S
69 2 7
QRinput::setErrorCorrectionLevel()
S
67 2 8
Blockonomics::getSupportedCurrencies()
S
61 1 14
Blockonomics::add_coupon_on_underpayment()
S
58 1 13
Blockonomics::get_order_amount_info()
S
60 1 13
QRCode::qr_encode()
S
60 1 13
QRrsblock::__construct()
S
69 1 7
QRmask::mask5()
S
88 1 1
Blockonomics::update_order()
S
68 1 8
QRmask::mask3()
S
89 1 1
QRmask::mask4()
S
87 1 1
success_message()
S
78 1 3
Blockonomics::__construct()
S
80 1 3
Blockonomics::get_wc_order_received_url()
S
76 1 4
QRcode::encodeInput()
S
79 1 3
FrameFiller::__construct()
S
67 1 8
QRmask::mask7()
S
88 1 1
display_admin_message()
S
79 1 3
QRspec::rsEccCodes2()
S
90 1 1
QRspec::rsDataCodes2()
S
90 1 1
Blockonomics::is_nojs_active()
S
79 1 3
FrameFiller::setFrameAt()
S
78 1 3
QRinput::getVersion()
S
82 1 3
QRcode::text()
S
74 1 4
QRbitstream::allocate()
S
75 1 4
get_callback_url()
S
70 1 6
nolo_custom_field_display_cust_order_meta()
S
82 1 3
QRspec::rsDataLength()
S
87 1 1
QRspec::rsEccCodes1()
S
90 1 1
WC_Gateway_Blockonomics::process_payment()
S
66 1 9
Blockonomics::insert_order()
S
66 1 9
QRmask::mask0()
S
89 1 1
Blockonomics::is_lite_mode_active()
S
79 1 3
Blockonomics::get_temp_api_key()
S
65 1 8
QRspec::getECCLength()
S
78 1 3
bnomics_enqueue_stylesheets()
S
77 1 3
QRcode::svg()
S
73 1 4
error_message()
S
67 1 8
Blockonomics::get_crypto_payment_uri()
S
78 1 3
QRcode::png()
S
73 1 4
QRspec::rsDataCodes1()
S
90 1 1
QRspec::unserial()
S
78 1 3
QRmask::makeMask()
S
69 1 6
QRbitstream::size()
S
80 1 3
QRmask::mask6()
S
88 1 1
QRmask::mask2()
S
90 1 1
QRspec::getRemainder()
S
79 1 3
QRsplit::__construct()
S
74 1 5
QRinput::getErrorCorrectionLevel()
S
82 1 3
QRinput::estimateBitsMode8()
S
80 1 3
Blockonomics::redirect_finish_order()
S
73 1 5
blockonomics_plugin_add_settings_link()
S
72 1 5
Blockonomics::load_checkout_template()
S
68 1 7
QRtools::clearCache()
S
80 1 3
get_started_message()
S
65 1 9
Blockonomics::generate_qrcode_svg_element()
S
72 1 5
QRspec::rsBlockNum2()
S
90 1 1
QRspec::serial()
S
78 1 3
QRCode::svg()
S
79 1 3
QRmask::mask1()
S
90 1 1
QRinput::estimateBitsModeKanji()
S
78 1 3
QRspec::rsBlockNum1()
S
90 1 1
QRspec::rsEccLength()
S
88 1 1
Blockonomics::send_email_on_underpayment()
S
67 1 7
QRmask::__construct()
S
78 1 3
FrameFiller::getFrameAt()
S
78 1 3
QRinput::appendEntry()
S
80 1 3
QRspec::getDataLength()
S
77 1 3
Blockonomics::is_partial_payments_active()
S
79 1 3
bnomics_enqueue_scripts()
S
71 1 5
woocommerce_add_blockonomics_gateway()
S
77 1 4
QRcode::eps()
S
73 1 4
QRCode::qr_penalty()
S
68 1 7
QRspec::rsBlockNum()
S
89 1 1
Blockonomics::get_crypto_rate_from_params()
S
77 1 3
load_plugin_translations()
S
78 1 3
QRspec::getWidth()
S
79 1 3
nolo_bnomics_woocommerce_email_customer_details()
S
82 1 3
QRcode::raw()
S
74 1 4