Code Analysis: WPBonusPlus 2.8

Function Rating Maintainability Complexity Lines of code
BPWP\BPWPMyAccount::bpwp_api_print_customer_card_info()
C
37 25 67
BPWP\BPWPWooProductCatExport::bpwp_api_products_data_prepare()
B
38 16 69
BPWP\BPWPApiHelper::bpwp_render_calc_bonusplus_price()
B
40 17 54
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_get_calc_bonusplus_price()
A
45 10 41
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\BPWPRestApiEndpoints::bpwp_customer_checkcode()
A
41 5 65
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
50 6 28
BPWP\BPWPProfile::bpwp_replace_customer_card_desc()
S
56 6 19
BPWP\BPWPCustomerBalance::bpwp_customer_balance_bonusplus()
S
48 5 33
BPWP\BPWPMenuSettings::settings_general()
S
40 1 76
BPWP\BPWPMenuSettings::init()
S
45 3 45
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 34
BPWP\BPWPProfile::bpwp_customer_login()
S
50 3 31
BPWP\BPWPRestApiEndpoints::bpwp_customer_sendcode()
S
53 3 24
BPWP\BPWPApiHelper::bpwp_get_max_debit_bonuses()
S
71 4 5
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_api_get_customer_phone()
S
66 3 8
BPWP\BPWPProfile::bpwp_remove_user_meta_on_address_change()
S
71 3 5
BPWP\BPWPApiHelper::bpwp_cart_checkout_bonusplus_price()
S
67 3 8
BPWP\BPWPLogger::init()
S
58 2 15
BPWP\BPWPApiHelper::add_custom_fee_on_checkout()
S
62 3 10
BPWP\BPWPMenuSettings::display_control()
S
60 2 14
BPWP\BPWPCustomerBalance::bpwp_balance_reserve()
S
59 2 14
BPWP\BPWPBonusPlus_Core::bpwp_load_components()
S
61 2 12
BPWP\BPWPWooProductCatExport::display_wrong_products_action()
S
54 1 26
BPWP\BPWPRestApiEndpoints::register_endpoints()
S
54 1 24
BPWP\BPWPProfile::bpwp_api_render_customer_bonus_card()
S
55 1 23
BPWP\BPWPLogger::add_settings()
S
54 1 22
BPWP\BPWPBonusPlus_Core::bpwp_shortcode_wp_enqueue_styles()
S
60 1 16
BPWP\BPWPMenuSettings::render_nav_menu()
S
60 1 16
BPWP\BPWPBonusPlus_Core::init()
S
59 1 15
BPWP\BPWPRestApiEndpoints::get_instance()
S
72 2 6
BPWP\BPWPMyAccount::bpwp_add_my_account_endpoint()
S
68 2 7
BPWP\BPWPMenuSettings::display_settings()
S
61 1 15
BPWP\BPWPApiHelper::bpwp_single_product_bonusplus_price()
S
66 2 9
BPWP\BPWPLogger::is_enable()
S
71 2 6
BPWP\BPWPMenuSettings::display_widget_settings()
S
63 1 13
BPWP\BPWPMenuSettings::display_api_key()
S
62 1 12
BPWP\BPWPMenuSettings::display_msg_unknow_customers()
S
64 1 11
BPWP\BPWPMyAccount::bpwp_account_links()
S
62 1 11
BPWP\BPWPMenuSettings::display_msg_know_customers()
S
64 1 11
BPWP\BPWPCustomerBalance::init()
S
74 1 4
BPWP\BPWPMyAccount::init()
S
63 1 10
BPWP\BPWPApiHelper::bpwp_single__bonusplus_price()
S
76 1 4
BPWP\BPWPBonusPlus_Core::bpwp_true_load_plugin_textdomain()
S
77 1 3
BPWP\BPWPMenuSettings::display_uri_customers_lk_billing_address()
S
65 1 10
BPWP\BPWPWooProductCatExport::settings_general()
S
64 1 10
BPWP\BPWPBonusPlus_Core::bpwp_plugin_deactivate()
S
81 1 3
BPWP\BPWPMenuSettings::display_msg_customers_not_verify_phone_number()
S
65 1 10
BPWP\BPWPProfile::bpwp_api_bonus_card_shortcode_init()
S
78 1 3
BPWP\BPWPApiHelper::init()
S
67 1 7
BPWP\BPWPRestApiEndpoints::verify_wp_nonce()
S
75 1 4
BPWP\BPWPMenuSettings::display_lk_url()
S
74 1 4
BPWP\BPWPMyAccount::bpwp_query_vars()
S
76 1 4
BPWP\BPWPMyAccount::bpwp_customer_data_shortcode_init()
S
78 1 3
BPWP\BPWPProfile::init()
S
71 1 5
BPWP\BPWPMenuSettings::display_uri_know_customers()
S
65 1 10
BPWP\BPWPRestApiEndpoints::__construct()
S
78 1 3
BPWP\BPWPBonusPlus_Core::bpwp_plugin_activate()
S
76 1 4
BPWP\BPWPMenuSettings::display_shop_name()
S
65 1 10
BPWP\BPWPMenuSettings::display_uri_unknow_customers()
S
65 1 10
BPWP\BPWPMenuSettings::render_widget_nav_menu()
S
67 1 9
BPWP\BPWPWooProductCatExport::bpwp_export_ui_btns()
S
73 1 4