Code Analysis: Billplz for WooCommerce 3.27.0

Function Rating Maintainability Complexity Lines of code
BillplzWooCommerceWPConnect::getXSignature()
B
41 17 50
bfw_get_settings()
A
29
4 178
WC_Billplz_Gateway::payment_fields()
A
47 12 33
WC_Billplz_Gateway::check_response()
A
44 11 42
bfw_process_requery_action_button()
A
45 11 41
Woocommerce_Billplz::check_environment()
A
50 11 27
WC_Billplz_Gateway::process_payment()
A
39 7 68
WC_Billplz_Gateway::verify_api_key()
A
49 9 32
bfw_delete_order()
A
49 9 29
bfw_requery_status()
A
49 8 26
BillplzWooCommerceWPConnect::deep_map_pairs()
A
51 8 26
WC_Billplz_Gateway::fetch_billplz_collection_payment_gateways()
A
51 8 26
bfw_bill_inquiry()
A
47 7 36
BillplzWooCommerceWPConnect::createOpenCollection()
A
49 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
bfw_process_meta_box_actions()
S
49 6 31
BillplzWooCommerceWPConnect::createCollection()
S
50 6 27
WC_Billplz_Gateway::verify_collection_id()
S
53 6 24
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
57 6 17
BillplzWooCommerceAPI::createBill()
S
59 6 13
Woocommerce_Billplz::patch_keys_constant()
S
59 5 15
WC_Billplz_Gateway::validate_keys_presence()
S
53 4 28
WC_Billplz_Gateway::validate_bill_payment()
S
59 5 12
bfw_update_bill()
S
56 4 19
WC_Billplz_Gateway::__construct()
S
48 3 32
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
Woocommerce_Billplz::includes()
S
56 3 20
BillplzWooCommerceWPConnect::updatePaymentMethod()
S
54 3 19
WC_Billplz_Gateway::check_keys_verification()
S
58 3 16
WC_Billplz_Gateway::is_valid_for_use()
S
68 4 7
BillplzBankName::get()
S
45 1 41
Woocommerce_Billplz::admin_notices()
S
55 2 21
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::get_customer_first_name()
S
64 3 10
bfw_get_bill_state()
S
62 2 12
WC_Billplz_Gateway::validate_currencies_presence()
S
63 2 11
bfw_get_bill_state_legacy()
S
69 2 7
BillplzWooCommerceAPI::createOpenCollection()
S
64 2 9
Woocommerce_Billplz::get_instance()
S
71 2 6
BillplzWooCommerceWPConnect::get_instance()
S
71 2 6
BillplzWooCommerceWPConnect::setStaging()
S
68 2 8
WC_Billplz_Gateway::validate_and_assign_reference_1()
S
66 2 8
WC_Billplz_Gateway::delete_previously_assoc_bill()
S
68 2 7
Woocommerce_Billplz::activation_check()
S
69 2 7
Woocommerce_Billplz::define()
S
75 2 5
WC_Billplz_Gateway::complete_payment_process()
S
62 2 10
WC_Billplz_Gateway::verify_keys_authenticity()
S
72 2 6
WC_Billplz_Gateway::thankyou_page()
S
74 2 5
Woocommerce_Billplz::init()
S
70 2 7
BillplzWooCommerceAPI::get_instance()
S
71 2 6
bfw_add_bill()
S
60 1 14
BillplzWooCommerceWPConnect::deactivateCollection()
S
60 1 12
BillplzWooCommerceWPConnect::createBill()
S
60 1 12
BillplzWooCommerceWPConnect::createMPICollection()
S
60 1 12
WC_Billplz_Gateway::get_order_data()
S
61 1 12
BillplzWooCommerceWPConnect::createMPI()
S
60 1 12
BillplzWooCommerceWPConnect::getMPI()
S
61 1 11
BillplzWooCommerceWPConnect::deleteBill()
S
61 1 11
BillplzWooCommerceWPConnect::createBankAccount()
S
61 1 11
BillplzWooCommerceAPI::getPaymentGateways()
S
77 1 4
Woocommerce_Billplz::load_plugin_textdomain()
S
78 1 3
BillplzWooCommerceWPConnect::getFpxBanks()
S
63 1 10
WC_Billplz_Gateway::collection_id_missing_message()
S
81 1 3
BillplzWooCommerceAPI::__clone()
S
98 1 1
BillplzWooCommerceAPI::bankAccountCheck()
S
76 1 4
BillplzWooCommerceWPConnect::getCollectionIndex()
S
63 1 10
BillplzWooCommerceWPConnect::getTransactionIndex()
S
62 1 10
Woocommerce_Billplz::__construct()
S
67 1 7
BillplzWooCommerceWPConnect::getMPICollection()
S
63 1 10
Woocommerce_Billplz::__clone()
S
98 1 1
BillplzWooCommerceAPI::getCollection()
S
76 1 4
BillplzWooCommerceAPI::getWebhookRank()
S
77 1 4
BillplzWooCommerceAPI::activateCollection()
S
75 1 4
BillplzWooCommerceAPI::createMPI()
S
75 1 4
BillplzWooCommerceWPConnect::getPaymentMethodIndex()
S
63 1 10
BillplzWooCommerceWPConnect::getOpenCollection()
S
63 1 10
BillplzWooCommerceAPI::getMPICollection()
S
76 1 4
WC_Billplz_Gateway::process_admin_options()
S
72 1 6
WC_Billplz_Gateway::unsupported_currency_notice()
S
69 1 6
WC_Billplz_Gateway::woocommerce_add_action()
S
67 1 7
BillplzWooCommerceWPConnect::getPaymentGateways()
S
63 1 10
BillplzWooCommerceAPI::getPaymentMethodIndex()
S
76 1 4
BillplzWooCommerceWPConnect::getBill()
S
63 1 10
BillplzWooCommerceAPI::set_connect()
S
81 1 3
BillplzWooCommerceAPI::createMPICollection()
S
76 1 4
BillplzWooCommerceAPI::toArray()
S
80 1 3
BillplzWooCommerceWPConnect::getCollection()
S
63 1 10
BillplzWooCommerceAPI::getBankAccount()
S
76 1 4
BillplzWooCommerceAPI::getBill()
S
76 1 4
WC_Billplz_Gateway::api_key_invalid_state_message()
S
81 1 3
bfw_requery_actions_button_css()
S
76 1 4
WC_Billplz_Gateway::load_icon()
S
71 1 5
WC_Billplz_Gateway::xsignature_key_missing_message()
S
81 1 3
BillplzWooCommerceAPI::getCollectionIndex()
S
76 1 4
BillplzWooCommerceWPConnect::bankAccountCheck()
S
63 1 10
bfw_add_gateway()
S
77 1 4
BillplzWooCommerceAPI::createBankAccount()
S
76 1 4
WC_Billplz_Gateway::collection_id_invalid_state_message()
S
81 1 3
BillplzWooCommerceAPI::getBankAccountIndex()
S
76 1 4
Woocommerce_Billplz::add_admin_notice()
S
71 1 6
BillplzWooCommerceAPI::deleteBill()
S
76 1 4
WC_Billplz_Gateway::initialize_api_helper()
S
68 1 7
BillplzWooCommerceAPI::getMPI()
S
76 1 4
BillplzWooCommerceWPConnect::getBankAccount()
S
63 1 10
Woocommerce_Billplz::define_constants()
S
66 1 8
BillplzWooCommerceAPI::createCollection()
S
75 1 4
BillplzWooCommerceWPConnect::getOpenCollectionIndex()
S
63 1 10
BillplzWooCommerceWPConnect::__clone()
S
98 1 1
bfw_delete_bill()
S
65 1 10
BillplzWooCommerceAPI::getTransactionIndex()
S
75 1 4
BillplzWooCommerceAPI::updatePaymentMethod()
S
76 1 4
BillplzWooCommerceWPConnect::set_api_key()
S
68 1 7
BillplzWooCommerceWPConnect::toArray()
S
77 1 3
WC_Billplz_Gateway::init_form_fields()
S
79 1 3
BillplzWooCommerceAPI::getFpxBanks()
S
77 1 4
BillplzWooCommerceWPConnect::getWebhookRank()
S
63 1 10
WC_Billplz_Gateway::invalid_state_message()
S
68 1 6
WC_Billplz_Gateway::key_missing_message()
S
68 1 6
BillplzWooCommerceAPI::getOpenCollection()
S
76 1 4
BillplzWooCommerceAPI::getOpenCollectionIndex()
S
76 1 4
BillplzWooCommerceAPI::deactivateCollection()
S
76 1 4
bfw_action_links()
S
67 1 8
WC_Billplz_Gateway::api_key_missing_message()
S
81 1 3