Code Analysis: WPBonusPlus 2.6

Function Rating Maintainability Complexity Lines of code
BPWP\BPWPMyAccount::bpwp_api_print_customer_card_info()
C
38 25 66
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()
B
37 15 75
bpwp_api_request()
A
39 12 69
BPWP\BPWPWooProductCatExport::bpwp_api_product_cat_data_prepare()
A
40 12 62
BPWP\BPWPApiHelper::bpwp_get_calc_bonusplus_price()
A
45 10 41
BPWP\BPWPMyAccount::bpwp_get_client_registration_data()
A
50 11 25
BPWP\BPWPWooProductCatExport::bpwp_export_message_ui()
A
45 8 39
BPWP\BPWPMenuSettings::display_status()
A
47 8 35
BPWP\BPWPApiHelper::bpwp_render_retailitems_calc()
A
56 9 17
BPWP\BPWPWooProductCatExport::init()
A
55 9 16
BPWP\BPWPApiHelper::bpwp_product_to_retailitems()
A
47 7 37
bpwp_api_get_customer_data()
A
55 8 20
BPWP\BPWPWooProductCatExport::bpwp_api_products_cats_export()
A
47 7 34
BPWP\BPWPCustomerBalance::bpwp_get_order_bonuses()
S
50 7 26
BPWP\BPWPCustomerBalance::bpwp_products_to_retail()
S
47 6 37
BPWP\BPWPMyAccount::bpwp_api_render_customer_data()
S
56 7 16
BPWP\BPWPProfile::bpwp_replace_customer_card_desc()
S
56 6 19
BPWP\BPWPMyAccount::bpwp_qrcode_scripts()
S
44 4 47
BPWP\BPWPCustomerBalance::bpwp_balance_reserve_bonusplus()
S
51 5 26
BPWP\BPWPMenuSettings::settings_general()
S
40 1 76
BPWP\BPWPMenuSettings::init()
S
45 3 45
BPWP\BPWPMyAccount::bpwp_client_verify_phone_callback()
S
53 4 25
BPWP\BPWPLogger::add_log()
S
53 4 21
BPWP\BPWPLogger::add_log_error()
S
53 4 21
BPWP\BPWPCustomerBalance::bpwp_customer_balance_bonusplus()
S
56 4 17
BPWP\BPWPProfile::bpwp_customer_login()
S
50 3 31
BPWP\BPWPApiHelper::bpwp_get_max_debit_bonuses()
S
71 4 5
bpwp_api_get_error_msg()
S
59 3 13
BPWP\BPWPMyAccount::bpwp_render_verify_phone_form()
S
53 1 35
bpwp_api_get_customer_phone()
S
66 3 8
BPWP\BPWPLogger::init()
S
58 2 15
BPWP\BPWPApiHelper::add_custom_fee_on_checkout()
S
62 3 10
BPWP\BPWPMyAccount::init()
S
57 2 15
BPWP\BPWPApiHelper::bpwp_cart_checkout_bonusplus_price()
S
67 3 8
BPWP\BPWPMenuSettings::display_control()
S
60 2 14
BPWP\BPWPCustomerBalance::bpwp_balance_reserve()
S
59 2 14
BPWP\BPWPWooProductCatExport::display_wrong_products_action()
S
54 1 26
BPWP\BPWPBonusPlus_Core::bpwp_load_components()
S
62 2 11
BPWP\BPWPProfile::bpwp_api_render_customer_bonus_card()
S
55 1 23
BPWP\BPWPLogger::add_settings()
S
54 1 22
BPWP\BPWPMenuSettings::render_nav_menu()
S
60 1 16
BPWP\BPWPBonusPlus_Core::bpwp_shortcode_wp_enqueue_styles()
S
60 1 16
BPWP\BPWPLogger::is_enable()
S
71 2 6
BPWP\BPWPMenuSettings::display_settings()
S
61 1 15
BPWP\BPWPApiHelper::bpwp_single_product_bonusplus_price()
S
67 2 8
BPWP\BPWPBonusPlus_Core::init()
S
59 1 15
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\BPWPMyAccount::bpwp_add_birth_date_billing_field()
S
62 1 11
BPWP\BPWPWooProductCatExport::bpwp_export_ui_btns()
S
73 1 4
BPWP\BPWPProfile::bpwp_api_bonus_card_shortcode_init()
S
78 1 3
BPWP\BPWPApiHelper::bpwp_single__bonusplus_price()
S
76 1 4
BPWP\BPWPMenuSettings::display_lk_url()
S
74 1 4
BPWP\BPWPCustomerBalance::init()
S
74 1 4
BPWP\BPWPMenuSettings::render_widget_nav_menu()
S
67 1 9
BPWP\BPWPMenuSettings::display_msg_customers_not_verify_phone_number()
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\BPWPMenuSettings::display_uri_unknow_customers()
S
65 1 10
BPWP\BPWPApiHelper::init()
S
67 1 7
BPWP\BPWPMenuSettings::display_uri_customers_lk_billing_address()
S
65 1 10
BPWP\BPWPMyAccount::bpwp_customer_data_shortcode_init()
S
78 1 3
BPWP\BPWPBonusPlus_Core::bpwp_plugin_activate()
S
76 1 4
BPWP\BPWPBonusPlus_Core::bpwp_true_load_plugin_textdomain()
S
77 1 3
BPWP\BPWPProfile::init()
S
71 1 5
BPWP\BPWPMyAccount::bpwp_query_vars()
S
76 1 4
BPWP\BPWPWooProductCatExport::settings_general()
S
64 1 10
BPWP\BPWPWooProductCatExport::bpwp_get_product_child_category()
S
66 1 8
BPWP\BPWPMenuSettings::display_shop_name()
S
65 1 10