Code Analysis: Billplz for WooCommerce 3.26.1

Function Rating Maintainability Complexity Lines of code
BillplzWooCommerceAPI::createBill()
B
41 20 48
bfw_process_requery_action_button()
A
45 12 42
WC_Billplz_Gateway::payment_fields()
A
47 12 33
Woocommerce_Billplz::check_environment()
A
50 11 27
BillplzWooCommerceWPConnect::getXSignature()
A
47 10 33
bfw_get_settings()
A
31 1 158
bfw_delete_order()
A
49 9 28
WC_Billplz_Gateway::process_payment()
A
41 7 56
bfw_requery_status()
A
50 9 25
bfw_bill_inquiry()
A
46 8 37
WC_Billplz_Gateway::verify_api_key()
A
50 8 30
WC_Billplz_Gateway::fetch_billplz_collection_payment_gateways()
A
51 8 26
BillplzWooCommerceWPConnect::createOpenCollection()
A
49 7 32
WC_Billplz_Gateway::check_response()
A
48 7 32
bfw_process_meta_box_actions()
A
48 7 32
BillplzWooCommerceAPI::bypassBillplzPage()
S
52 7 24
Woocommerce_Billplz::get_environment_warning()
S
53 7 23
bfw_meta_box_actions()
S
53 7 22
BillplzWooCommerceWPConnect::createCollection()
S
50 6 27
bfw_requery_button()
S
53 6 22
WC_Billplz_Gateway::fetch_billplz_payment_gateways()
S
54 6 19
bfw_order_item_add_action_buttons()
S
56 6 17
BillplzWooCommerceAPI::detectMode()
S
57 6 16
BillplzWooCommerceWPConnect::buildSourceString()
S
53 5 23
WC_Billplz_Gateway::validate_keys_presence()
S
53 4 28
WC_Billplz_Gateway::validate_bill_payment()
S
59 5 12
WC_Billplz_Gateway::verify_collection_id()
S
55 4 20
WC_Billplz_Gateway::__construct()
S
48 3 33
WC_Billplz_Gateway::email_instructions()
S
70 5 5
WC_Billplz_Gateway::add_custom_gateways()
S
61 4 13
WC_Billplz_Gateway::get_order_description()
S
60 4 12
BillplzWooCommerceWPConnect::updatePaymentMethod()
S
54 3 19
Woocommerce_Billplz::includes()
S
57 3 18
WC_Billplz_Gateway::check_keys_verification()
S
58 3 16
WC_Billplz_Gateway::is_valid_for_use()
S
68 4 7
BillplzBankName::get()
S
44 1 45
BillplzWooCommerceAPI::createOpenCollection()
S
60 3 12
Woocommerce_Billplz::admin_notices()
S
55 2 21
WC_Billplz_Gateway::get_customer_first_name()
S
64 3 10
WC_Billplz_Gateway::get_customer_last_name()
S
64 3 10
BillplzWooCommerceWPConnect::getBankAccountIndex()
S
57 2 15
WC_Billplz_Gateway::log()
S
68 3 8
WC_Billplz_Gateway::validate_currencies_presence()
S
63 2 11
BillplzWooCommerceAPI::getWebhookRank()
S
69 2 7
BillplzWooCommerceAPI::getFpxBanks()
S
69 2 7
Woocommerce_Billplz::activation_check()
S
69 2 7
BillplzWooCommerceAPI::getCollection()
S
69 2 7
BillplzWooCommerceAPI::getPaymentGateways()
S
69 2 7
WC_Billplz_Gateway::complete_payment_process()
S
62 2 10
WC_Billplz_Gateway::validate_and_assign_reference_1()
S
66 2 8
BillplzWooCommerceAPI::getMPICollection()
S
69 2 7
WC_Billplz_Gateway::delete_previously_assoc_bill()
S
68 2 7
Woocommerce_Billplz::define()
S
75 2 5
BillplzWooCommerceAPI::getOpenCollection()
S
69 2 7
BillplzWooCommerceAPI::get_instance()
S
71 2 6
BillplzWooCommerceAPI::getOpenCollectionIndex()
S
69 2 7
BillplzWooCommerceWPConnect::get_instance()
S
71 2 6
BillplzWooCommerceAPI::createMPICollection()
S
69 2 7
BillplzWooCommerceWPConnect::setStaging()
S
68 2 8
Woocommerce_Billplz::init()
S
70 2 7
BillplzWooCommerceAPI::createMPI()
S
68 2 7
WC_Billplz_Gateway::thankyou_page()
S
74 2 5
WC_Billplz_Gateway::verify_keys_authenticity()
S
72 2 6
BillplzWooCommerceAPI::deactivateCollection()
S
69 2 7
BillplzWooCommerceAPI::activateCollection()
S
68 2 7
BillplzWooCommerceAPI::createCollection()
S
68 2 7
BillplzWooCommerceAPI::getMPI()
S
69 2 7
BillplzWooCommerceAPI::deleteBill()
S
69 2 7
BillplzWooCommerceAPI::getBill()
S
69 2 7
BillplzWooCommerceAPI::getCollectionIndex()
S
69 2 7
BillplzWooCommerceAPI::bankAccountCheck()
S
69 2 7
Woocommerce_Billplz::get_instance()
S
71 2 6
BillplzWooCommerceAPI::getTransactionIndex()
S
68 2 7
BillplzWooCommerceAPI::createBankAccount()
S
69 2 7
BillplzWooCommerceAPI::getPaymentMethodIndex()
S
69 2 7
BillplzWooCommerceAPI::updatePaymentMethod()
S
69 2 7
BillplzWooCommerceAPI::getBankAccountIndex()
S
69 2 7
BillplzWooCommerceAPI::getBankAccount()
S
69 2 7
BillplzWooCommerceWPConnect::deactivateCollection()
S
60 1 12
BillplzWooCommerceWPConnect::createBill()
S
60 1 12
WC_Billplz_Gateway::get_order_data()
S
61 1 12
BillplzWooCommerceWPConnect::createMPICollection()
S
60 1 12
BillplzWooCommerceWPConnect::createMPI()
S
60 1 12
BillplzWooCommerceWPConnect::createBankAccount()
S
61 1 11
BillplzWooCommerceWPConnect::getMPI()
S
61 1 11
BillplzWooCommerceWPConnect::deleteBill()
S
61 1 11
BillplzWooCommerceWPConnect::getPaymentGateways()
S
63 1 10
BillplzWooCommerceAPI::toArray()
S
80 1 3
Woocommerce_Billplz::define_constants()
S
66 1 8
WC_Billplz_Gateway::collection_id_missing_message()
S
81 1 3
BillplzWooCommerceWPConnect::set_api_key()
S
68 1 7
Woocommerce_Billplz::add_admin_notice()
S
71 1 6
WC_Billplz_Gateway::xsignature_key_missing_message()
S
81 1 3
WC_Billplz_Gateway::load_icon()
S
71 1 5
BillplzWooCommerceWPConnect::getPaymentMethodIndex()
S
63 1 10
WC_Billplz_Gateway::unsupported_currency_notice()
S
69 1 6
WC_Billplz_Gateway::api_key_missing_message()
S
81 1 3
BillplzWooCommerceWPConnect::getOpenCollection()
S
63 1 10
BillplzWooCommerceWPConnect::detectMode()
S
74 1 5
Woocommerce_Billplz::load_plugin_textdomain()
S
78 1 3
BillplzWooCommerceWPConnect::getCollectionIndex()
S
63 1 10
BillplzWooCommerceWPConnect::getOpenCollectionIndex()
S
63 1 10
BillplzWooCommerceWPConnect::getCollection()
S
63 1 10
BillplzWooCommerceAPI::set_connect()
S
81 1 3
WC_Billplz_Gateway::initialize_api_helper()
S
68 1 7
bfw_add_gateway()
S
77 1 4
BillplzWooCommerceWPConnect::getBill()
S
63 1 10
BillplzWooCommerceWPConnect::getTransactionIndex()
S
62 1 10
BillplzWooCommerceWPConnect::__clone()
S
98 1 1
BillplzWooCommerceWPConnect::getBankAccount()
S
63 1 10
WC_Billplz_Gateway::invalid_state_message()
S
68 1 6
bfw_action_links()
S
67 1 8
BillplzWooCommerceWPConnect::bankAccountCheck()
S
63 1 10
BillplzWooCommerceWPConnect::getFpxBanks()
S
63 1 10
WC_Billplz_Gateway::woocommerce_add_action()
S
67 1 7
WC_Billplz_Gateway::collection_id_invalid_state_message()
S
81 1 3
Woocommerce_Billplz::__construct()
S
70 1 6
BillplzWooCommerceAPI::__clone()
S
98 1 1
bfw_requery_actions_button_css()
S
76 1 4
BillplzWooCommerceWPConnect::toArray()
S
77 1 3
BillplzWooCommerceWPConnect::getWebhookRank()
S
63 1 10
WC_Billplz_Gateway::init_form_fields()
S
79 1 3
BillplzWooCommerceWPConnect::getMPICollection()
S
63 1 10
WC_Billplz_Gateway::api_key_invalid_state_message()
S
81 1 3
WC_Billplz_Gateway::process_admin_options()
S
72 1 6
Woocommerce_Billplz::__clone()
S
98 1 1
WC_Billplz_Gateway::key_missing_message()
S
68 1 6