Code Analysis: Billplz for WooCommerce 3.28.4

Function Rating Maintainability Complexity Lines of code
WC_Billplz_Gateway::create_refund()
D
30 32 108
WC_Billplz_Gateway::process_refund()
C
32 22 104
bfw_check_refund_payment_order()
B
38 20 62
bfw_get_settings()
B
26
7 219
BillplzWooCommerceWPConnect::getXSignature()
B
41 17 50
WC_Billplz_Gateway::complete_refund_process()
A
41 14 52
WC_Billplz_Gateway::check_response()
A
43 13 45
WC_Billplz_Gateway::payment_fields()
A
47 12 33
WC_Billplz_Gateway::process_payment()
A
37 9 76
bfw_process_requery_action_button()
A
45 11 40
WC_Billplz_Gateway::verify_payment_order_collection_id()
A
45 11 38
Woocommerce_Billplz::check_environment()
A
50 11 27
WC_Billplz_Gateway::verify_collection_id()
A
49 9 29
bfw_delete_order()
A
49 9 28
bfw_bill_inquiry()
A
46 8 39
BillplzWooCommerceWPConnect::deep_map_pairs()
A
51 8 26
WC_Billplz_Gateway::fetch_billplz_collection_payment_gateways()
A
51 8 26
bfw_requery_status()
A
49 8 26
BillplzWooCommerceWPConnect::createOpenCollection()
A
49 7 31
BillplzWooCommerceAPI::bypassBillplzPage()
S
52 7 24
bfw_meta_box_actions()
S
53 7 22
bfw_process_meta_box_actions()
S
49 6 31
BillplzWooCommerceWPConnect::createCollection()
S
51 6 26
WC_Billplz_Gateway::verify_api_key()
S
52 6 25
bfw_requery_button()
S
53 6 22
WC_Billplz_Gateway::fetch_billplz_payment_gateways()
S
54 6 19
Woocommerce_Billplz::patch_keys_constant()
S
57 6 18
bfw_order_item_add_action_buttons()
S
57 6 17
WC_Billplz_Gateway::check_keys_verification()
S
58 6 15
BillplzWooCommerceAPI::createBill()
S
59 6 13
WC_Billplz_Gateway::register_metaboxes()
S
59 6 12
Woocommerce_Billplz::get_environment_warning()
S
57 5 17
WC_Billplz_Gateway::add_custom_gateways()
S
58 5 16
WC_Billplz_Gateway::reset_payment_order_collection_id()
S
59 5 12
WC_Billplz_Gateway::validate_keys_presence()
S
62 5 12
WC_Billplz_Gateway::validate_bill_payment()
S
59 5 12
WC_Billplz_Gateway::__construct()
S
46 3 36
bfw_get_refund_payment_order()
S
56 4 19
bfw_update_bill()
S
56 4 19
WC_Billplz_Gateway::can_refund_order()
S
69 5 7
WC_Billplz_Gateway::refund_metabox()
S
63 5 10
WC_Billplz_Gateway::email_instructions()
S
70 5 5
WC_Billplz_Gateway::get_order_description()
S
59 4 13
Woocommerce_Billplz::includes()
S
55 3 21
BillplzWooCommerceWPConnect::updatePaymentMethod()
S
55 3 18
WC_Billplz_Gateway::generate_payment_order_collection_id_html()
S
49 2 32
WC_Billplz_Gateway::before_woocommerce_pay_form()
S
63 4 10
bfw_update_refund_payment_order()
S
61 3 13
bfw_get_settings_defaults()
S
62 3 12
BillplzBankName::get()
S
45 1 42
BillplzBankName::getSwift()
S
50 2 27
Woocommerce_Billplz::admin_notices()
S
55 2 21
WC_Billplz_Gateway::log()
S
68 3 8
WC_Billplz_Gateway::add_error()
S
65 3 10
bfw_get_refund_payment_order_meta()
S
66 3 8
WC_Billplz_Gateway::is_valid_for_use()
S
65 3 10
WC_Billplz_Gateway::validate_currencies()
S
65 3 8
BillplzWooCommerceWPConnect::getBankAccountIndex()
S
58 2 14
WC_Billplz_Gateway::get_order_latest_refund()
S
61 2 13
WC_Billplz_Gateway::enqueue_scripts()
S
59 2 13
bfw_get_bill_state()
S
62 2 12
Woocommerce_Billplz::blocks_support()
S
64 2 11
WC_Billplz_Gateway::get_order_data()
S
62 2 11
bfw_get_bill_state_legacy()
S
69 2 7
BillplzWooCommerceAPI::get_instance()
S
71 2 6
Woocommerce_Billplz::get_instance()
S
71 2 6
WC_Billplz_Gateway::display_errors()
S
68 2 8
BillplzWooCommerceAPI::createOpenCollection()
S
64 2 9
Woocommerce_Billplz::init()
S
70 2 7
Woocommerce_Billplz::define()
S
75 2 5
BillplzWooCommerceWPConnect::get_instance()
S
71 2 6
Woocommerce_Billplz::activation_check()
S
69 2 7
BillplzWooCommerceWPConnect::setStaging()
S
68 2 8
WC_Billplz_Gateway::delete_previously_assoc_bill()
S
68 2 7
WC_Billplz_Gateway::validate_and_assign_reference_1()
S
66 2 8
WC_Billplz_Gateway::complete_payment_process()
S
62 2 10
Woocommerce_Billplz::wc_hpos_compatibility()
S
71 2 5
WC_Billplz_Gateway::verify_keys_authenticity()
S
70 2 7
WC_Billplz_Gateway::thankyou_page()
S
74 2 5
bfw_add_bill()
S
60 1 14
BillplzWooCommerceWPConnect::deactivateCollection()
S
61 1 11
WC_Billplz_Gateway::woocommerce_add_action()
S
61 1 11
BillplzWooCommerceWPConnect::createBill()
S
61 1 11
WC_Billplz_Gateway::init_error_messages()
S
62 1 11
BillplzWooCommerceWPConnect::createMPI()
S
61 1 11
BillplzWooCommerceWPConnect::createMPICollection()
S
61 1 11
BillplzWooCommerceWPConnect::getTransactionIndex()
S
64 1 9
BillplzWooCommerceWPConnect::bankAccountCheck()
S
64 1 9
BillplzWooCommerceWPConnect::getOpenCollection()
S
64 1 9
BillplzWooCommerceAPI::deactivateCollection()
S
76 1 4
BillplzWooCommerceAPI::getWebhookRank()
S
77 1 4
Woocommerce_Billplz::load_plugin_textdomain()
S
78 1 3
Woocommerce_Billplz::add_admin_notice()
S
71 1 6
bfw_requery_actions_button_css()
S
76 1 4
BillplzWooCommerceAPI::getOpenCollection()
S
76 1 4
BillplzWooCommerceWPConnect::getMPI()
S
63 1 10
WC_Billplz_Gateway::key_missing_message()
S
77 1 3
Woocommerce_Billplz::__clone()
S
98 1 1
BillplzWooCommerceAPI::getCollectionIndex()
S
76 1 4
BillplzWooCommerceAPI::getBankAccountIndex()
S
76 1 4
BillplzWooCommerceWPConnect::getPaymentMethodIndex()
S
64 1 9
Woocommerce_Billplz::define_constants()
S
65 1 9
BillplzWooCommerceWPConnect::set_api_key()
S
68 1 7
BillplzWooCommerceAPI::getFpxBanks()
S
77 1 4
BillplzWooCommerceAPI::getBankAccount()
S
76 1 4
WC_Billplz_Blocks_Support::get_payment_method_data()
S
67 1 8
WC_Billplz_Blocks_Support::is_active()
S
81 1 3
BillplzWooCommerceWPConnect::deleteBill()
S
63 1 10
BillplzWooCommerceAPI::bankAccountCheck()
S
76 1 4
WC_Billplz_Gateway::init_form_fields()
S
71 1 5
BillplzWooCommerceAPI::getPaymentOrderCollection()
S
75 1 4
BillplzWooCommerceWPConnect::createPaymentOrder()
S
63 1 10
bfw_delete_bill()
S
65 1 10
WC_Billplz_Gateway::process_admin_options()
S
67 1 8
WC_Billplz_Gateway::initialize_api_helper()
S
68 1 7
Woocommerce_Billplz::__construct()
S
64 1 9
BillplzWooCommerceWPConnect::getFpxBanks()
S
64 1 9
BillplzWooCommerceWPConnect::getCollection()
S
64 1 9
WC_Billplz_Gateway::load_icon()
S
71 1 5
BillplzWooCommerceAPI::getOpenCollectionIndex()
S
76 1 4
BillplzWooCommerceWPConnect::createBankAccount()
S
63 1 10
BillplzWooCommerceAPI::createCollection()
S
75 1 4
BillplzWooCommerceAPI::deleteBill()
S
76 1 4
BillplzWooCommerceAPI::__clone()
S
98 1 1
BillplzWooCommerceWPConnect::getPaymentOrder()
S
63 1 10
BillplzWooCommerceWPConnect::getWebhookRank()
S
64 1 9
BillplzWooCommerceWPConnect::getPaymentGateways()
S
64 1 9
BillplzWooCommerceAPI::getPaymentOrder()
S
75 1 4
BillplzWooCommerceWPConnect::getBill()
S
64 1 9
BillplzWooCommerceWPConnect::toArray()
S
77 1 3
BillplzWooCommerceAPI::getMPICollection()
S
76 1 4
BillplzWooCommerceWPConnect::getPaymentOrderCollection()
S
63 1 10
BillplzWooCommerceWPConnect::getOpenCollectionIndex()
S
64 1 9
BillplzWooCommerceAPI::toArray()
S
80 1 3
BillplzWooCommerceAPI::getCollection()
S
76 1 4
BillplzWooCommerceAPI::createMPICollection()
S
76 1 4
BillplzWooCommerceAPI::createMPI()
S
75 1 4
BillplzWooCommerceAPI::getMPI()
S
76 1 4
WC_Billplz_Blocks_Support::get_payment_method_script_handles()
S
74 1 4
bfw_get_refund_payment_order_defaults()
S
68 1 8
WC_Billplz_Blocks_Support::initialize()
S
75 1 4
BillplzWooCommerceAPI::getPaymentGateways()
S
77 1 4
BillplzWooCommerceAPI::createPaymentOrder()
S
76 1 4
BillplzWooCommerceAPI::getTransactionIndex()
S
75 1 4
BillplzWooCommerceWPConnect::getMPICollection()
S
64 1 9
BillplzWooCommerceAPI::createBankAccount()
S
76 1 4
BillplzWooCommerceAPI::getBill()
S
76 1 4
BillplzWooCommerceAPI::getPaymentMethodIndex()
S
76 1 4
BillplzWooCommerceAPI::activateCollection()
S
75 1 4
BillplzWooCommerceAPI::updatePaymentMethod()
S
76 1 4
bfw_add_gateway()
S
77 1 4
BillplzWooCommerceWPConnect::__clone()
S
98 1 1
BillplzWooCommerceWPConnect::getBankAccount()
S
64 1 9
WC_Billplz_Gateway::show_refund_info()
S
80 1 3
BillplzWooCommerceWPConnect::getCollectionIndex()
S
64 1 9
bfw_action_links()
S
67 1 8
BillplzWooCommerceAPI::set_connect()
S
81 1 3
WC_Billplz_Gateway::invalid_state_message()
S
77 1 3