Code Analysis: WPBonusPlus 1.8

Function Rating Maintainability Complexity Lines of code
BPWP\BPWPMyAccount::bpwp_api_print_customer_card_info()
C
38 25 65
BPWP\BPWPWooProductCatExport::bpwp_api_products_data_prepare()
B
38 16 69
BPWP\BPWPWooProductCatExport::bpwp_api_product_cat_data_prepare()
A
42 11 54
bpwp_api_request()
A
43 10 49
BPWP\BPWPProfile::bpwp_api_prepare_customer_bonuses_data()
A
42 8 55
BPWP\BPWPWooProductCatExport::bpwp_export_message_ui()
A
45 8 39
BPWP\BPWPMenuSettings::display_status()
A
47 8 35
bpwp_api_get_customer_data()
A
55 8 20
BPWP\BPWPWooProductCatExport::bpwp_api_products_cats_export()
S
50 7 27
BPWP\BPWPProfile::bpwp_replace_customer_card_desc()
S
56 6 19
BPWP\BPWPMenuSettings::init()
S
45 4 45
BPWP\BPWPLogger::add_log()
S
53 4 21
BPWP\BPWPLogger::add_log_error()
S
53 4 21
BPWP\BPWPMenuSettings::settings_general()
S
43 1 60
BPWP\BPWPMyAccount::bpwp_qrcode_scripts()
S
52 3 28
BPWP\BPWPMyAccount::bpwp_api_render_customer_data()
S
60 3 13
bpwp_api_get_error_msg()
S
59 3 13
bpwp_api_get_customer_phone()
S
66 3 8
BPWP\BPWPLogger::init()
S
58 2 15
BPWP\BPWPProfile::bpwp_customer_login()
S
60 2 14
BPWP\BPWPMenuSettings::display_control()
S
60 2 13
BPWP\BPWPMyAccount::bpwp_render_verify_phone_form()
S
58 1 26
BPWP\BPWPWooProductCatExport::display_wrong_products_action()
S
54 1 26
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\BPWPBonusPlus_Core::init()
S
59 1 15
BPWP\BPWPMyAccount::bpwp_add_my_account_endpoint()
S
68 2 7
BPWP\BPWPLogger::is_enable()
S
71 2 6
BPWP\BPWPBonusPlus_Core::bpwp_load_components()
S
65 2 9
BPWP\BPWPMenuSettings::display_settings()
S
61 1 15
BPWP\BPWPMenuSettings::display_api_key()
S
62 1 12
BPWP\BPWPMenuSettings::display_msg_unknow_customers()
S
64 1 11
BPWP\BPWPMenuSettings::display_msg_know_customers()
S
64 1 11
BPWP\BPWPMyAccount::bpwp_account_links()
S
62 1 11
BPWP\BPWPMenuSettings::display_shop_name()
S
65 1 10
BPWP\BPWPProfile::bpwp_api_bonus_card_shortcode_init()
S
78 1 3
BPWP\BPWPMenuSettings::display_uri_unknow_customers()
S
65 1 10
BPWP\BPWPMyAccount::bpwp_verify_form_scripts()
S
67 1 9
BPWP\BPWPWooProductCatExport::bpwp_export_ui_btns()
S
73 1 4
BPWP\BPWPProfile::init()
S
71 1 5
BPWP\BPWPBonusPlus_Core::bpwp_plugin_deactivate()
S
81 1 3
BPWP\BPWPMyAccount::bpwp_query_vars()
S
76 1 4
BPWP\BPWPMenuSettings::display_uri_know_customers()
S
65 1 10
BPWP\BPWPMyAccount::init()
S
65 1 8
BPWP\BPWPMenuSettings::display_lk_url()
S
74 1 4
BPWP\BPWPMyAccount::bpwp_customer_data_shortcode_init()
S
78 1 3
BPWP\BPWPWooProductCatExport::init()
S
65 1 8
BPWP\BPWPWooProductCatExport::settings_general()
S
64 1 10
BPWP\BPWPWooProductCatExport::bpwp_get_product_child_category()
S
66 1 8
BPWP\BPWPBonusPlus_Core::bpwp_true_load_plugin_textdomain()
S
77 1 3
BPWP\BPWPBonusPlus_Core::bpwp_plugin_activate()
S
76 1 4