Code Analysis: WPBonusPlus 2.14

Function Rating Maintainability Complexity Lines of code
BPWP\BPWPMyAccount::bpwp_api_print_customer_card_info()
B
43 18 45
BPWP\BPWPWooProductCatExport::bpwp_api_products_data_prepare()
B
38 16 69
BPWP\BPWPProfile::bpwp_api_prepare_customer_bonuses_data()
A
38 14 74
bpwp_api_request()
A
39 13 70
BPWP\BPWPWooProductCatExport::bpwp_api_product_cat_data_prepare()
A
40 12 62
BPWP\BPWPApiHelper::bpwp_render_calc_bonusplus_price()
A
43 12 48
BPWP\BPWPApiHelper::bpwp_get_calc_bonusplus_price()
A
45 10 39
BPWP\BPWPRestApiEndpoints::bpwp_customer_checkcode()
A
39 6 77
BPWP\BPWPWooProductCatExport::bpwp_export_message_ui()
A
45 8 39
BPWP\BPWPMenuSettings::display_status()
A
47 8 35
BPWP\BPWPMyAccount::bpwp_get_client_registration_data()
A
55 9 18
BPWP\BPWPApiHelper::bpwp_render_retailitems_calc()
A
56 9 17
BPWP\BPWPWooProductCatExport::init()
A
55 9 16
BPWP\BPWPWooProductCatExport::bpwp_api_products_cats_export()
A
46 7 40
BPWP\BPWPApiHelper::bpwp_product_to_retailitems()
A
47 7 37
bpwp_api_get_customer_data()
A
55 8 20
BPWP\BPWPCustomerBalance::bpwp_get_order_bonuses()
S
50 7 26
BPWP\BPWPCustomerBalance::bpwp_products_to_retail()
S
47 6 37
BPWP\BPWPCustomerBalance::bpwp_balance_reserve_bonusplus()
S
48 6 32
BPWP\BPWPProfile::bpwp_replace_customer_card_desc()
S
56 6 19
BPWP\BPWPCustomerBalance::bpwp_customer_balance_bonusplus()
S
48 5 33
set_bpwp_debit_bonuses()
S
58 6 15
BPWP\BPWPMenuSettings::init()
S
45 3 46
BPWP\BPWPMenuSettings::settings_general()
S
40 1 76
BPWP\BPWPMyAccount::bpwp_api_render_customer_data()
S
58 5 14
BPWP\BPWPLogger::add_log_error()
S
53 4 21
BPWP\BPWPLogger::add_log()
S
53 4 21
BPWP\BPWPMyAccount::bpwp_qrcode_scripts()
S
48 3 35
BPWP\BPWPCustomerBalance::bpwp_cancelled_order()
S
57 4 16
BPWP\BPWPProfile::bpwp_customer_login()
S
50 3 31
BPWP\BPWPRestApiEndpoints::wc_session_enabler()
S
68 5 7
BPWP\BPWPRestApiEndpoints::bpwp_customer_sendcode()
S
53 3 25
BPWP\BPWPApiHelper::bpwp_get_max_debit_bonuses()
S
71 4 5
BPWP\BPWPApiHelper::bpwp_add_custom_fee_on_checkout()
S
66 4 8
bpwp_api_get_error_msg()
S
59 3 13
BPWP\BPWPWooProductCatExport::bpwp_get_product_child_category()
S
61 3 11
BPWP\BPWPMyAccount::bpwp_render_verify_phone_form()
S
54 1 33
BPWP\BPWPLogger::init()
S
58 2 15
bpwp_api_get_customer_phone()
S
66 3 8
BPWP\BPWPApiHelper::bpwp_cart_checkout_bonusplus_price()
S
67 3 8
BPWP\BPWPProfile::bpwp_remove_user_meta_on_address_change()
S
71 3 5
BPWP\BPWPMenuSettings::display_control()
S
59 2 14
BPWP\BPWPCustomerBalance::bpwp_balance_reserve()
S
59 2 14
BPWP\BPWPRestApiEndpoints::register_endpoints()
S
52 1 29
BPWP\BPWPBonusPlus_Core::bpwp_load_components()
S
61 2 12
BPWP\BPWPWooProductCatExport::display_wrong_products_action()
S
54 1 26
BPWP\BPWPProfile::bpwp_api_render_customer_bonus_card()
S
54 1 24
BPWP\BPWPMenuSettings::render_nav_menu()
S
56 1 23
BPWP\BPWPBonusPlus_Core::bpwp_shortcode_wp_enqueue_styles()
S
56 1 23
BPWP\BPWPLogger::add_settings()
S
54 1 22
BPWP\BPWPBonusPlus_Core::init()
S
56 1 18
BPWP\BPWPApiHelper::bpwp_cart_updated()
S
68 2 7
BPWP\BPWPMenuSettings::display_settings()
S
61 1 15
BPWP\BPWPLogger::is_enable()
S
71 2 6
BPWP\BPWPBonusPlus_Core::bpwp_plugin_row_meta()
S
67 2 7
BPWP\BPWPRestApiEndpoints::get_instance()
S
72 2 6
BPWP\BPWPMyAccount::bpwp_add_my_account_endpoint()
S
68 2 7
BPWP\BPWPMenuSettings::display_widget_settings()
S
63 1 13
BPWP\BPWPMenuSettings::display_api_key()
S
62 1 12
BPWP\BPWPMyAccount::bpwp_account_links()
S
62 1 11
BPWP\BPWPMenuSettings::display_msg_know_customers()
S
64 1 11
BPWP\BPWPMenuSettings::display_msg_unknow_customers()
S
64 1 11
BPWP\BPWPBonusPlus_Core::bpwp_true_load_plugin_textdomain()
S
77 1 3
BPWP\BPWPMenuSettings::display_lk_url()
S
74 1 4
BPWP\BPWPMenuSettings::display_msg_customers_not_verify_phone_number()
S
65 1 10
BPWP\BPWPProfile::init()
S
71 1 5
BPWP\BPWPWooProductCatExport::bpwp_export_ui_btns()
S
73 1 4
BPWP\BPWPMyAccount::bpwp_query_vars()
S
76 1 4
BPWP\BPWPBonusPlus_Core::bpwp_plugin_activate()
S
76 1 4
BPWP\BPWPMenuSettings::display_uri_customers_lk_billing_address()
S
65 1 10
BPWP\BPWPBonusPlus_Core::bpwp_plugin_deactivate()
S
81 1 3
BPWP\BPWPMenuSettings::display_uri_know_customers()
S
65 1 10
BPWP\BPWPApiHelper::init()
S
64 1 9
BPWP\BPWPRestApiEndpoints::verify_wp_nonce()
S
75 1 4
BPWP\BPWPApiHelper::bpwp_single_bonusplus_price()
S
71 1 6
BPWP\BPWPBonusPlus_Core::bpwp_add_support_link()
S
71 1 5
BPWP\BPWPMyAccount::bpwp_customer_data_shortcode_init()
S
78 1 3
BPWP\BPWPCustomerBalance::init()
S
71 1 5
BPWP\BPWPMenuSettings::display_uri_unknow_customers()
S
65 1 10
BPWP\BPWPMyAccount::init()
S
63 1 10
BPWP\BPWPMenuSettings::render_widget_nav_menu()
S
67 1 9
BPWP\BPWPWooProductCatExport::settings_general()
S
64 1 10
BPWP\BPWPMenuSettings::display_shop_name()
S
65 1 10
BPWP\BPWPRestApiEndpoints::__construct()
S
78 1 3
BPWP\BPWPProfile::bpwp_api_bonus_card_shortcode_init()
S
78 1 3