Code Analysis: WPBonusPlus 1.4

Function Rating Maintainability Complexity Lines of code
BPWP\BPWPMyAccount::bpwp_api_print_customer_card_info()
C
37 25 68
bpwp_api_request()
A
44 10 47
BPWP\BPWPWooProductCatExport::bpwp_export_message_ui()
A
44 10 42
BPWP\BPWPWooProductCatExport::bpwp_api_product_cat_data_prepare()
A
45 10 42
BPWP\BPWPProfile::bpwp_api_prepare_customer_bonuses_data()
A
43 8 53
BPWP\BPWPMenuSettings::display_status()
A
47 8 35
BPWP\BPWPWooProductCatExport::bpwp_api_products_data_prepare()
A
45 7 40
bpwp_api_get_customer_data()
A
55 8 20
BPWP\BPWPProfile::bpwp_replace_customer_card_desc()
S
56 6 19
BPWP\BPWPMenuSettings::init()
S
45 4 45
BPWP\BPWPWooProductCatExport::bpwp_api_products_cats_export()
S
52 5 24
BPWP\BPWPLogger::add_log()
S
53 4 21
BPWP\BPWPLogger::add_log_error()
S
53 4 21
BPWP\BPWPMyAccount::bpwp_qrcode_scripts()
S
52 3 28
BPWP\BPWPMenuSettings::settings_general()
S
45 1 52
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_user_identification_by()
S
53 1 28
BPWP\BPWPMenuSettings::display_control()
S
60 2 13
BPWP\BPWPMyAccount::bpwp_render_verify_phone_form()
S
58 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\BPWPWooProductCatExport::bpwp_prepare_product_export_result()
S
66 2 8
BPWP\BPWPMenuSettings::display_settings()
S
61 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_api_key()
S
62 1 12
BPWP\BPWPMyAccount::bpwp_account_links()
S
62 1 11
BPWP\BPWPMenuSettings::display_msg_unknow_customers()
S
64 1 11
BPWP\BPWPMenuSettings::display_msg_know_customers()
S
64 1 11
BPWP\BPWPMyAccount::init()
S
65 1 8
BPWP\BPWPBonusPlus_Core::bpwp_plugin_deactivate()
S
81 1 3
BPWP\BPWPMenuSettings::display_lk_url()
S
74 1 4
BPWP\BPWPProfile::bpwp_api_bonus_card_shortcode_init()
S
78 1 3
BPWP\BPWPWooProductCatExport::init()
S
69 1 6
BPWP\BPWPMyAccount::bpwp_customer_data_shortcode_init()
S
78 1 3
BPWP\BPWPMenuSettings::display_shop_name()
S
65 1 10
BPWP\BPWPProfile::init()
S
71 1 5
BPWP\BPWPMyAccount::bpwp_query_vars()
S
76 1 4
BPWP\BPWPBonusPlus_Core::bpwp_plugin_activate()
S
76 1 4
BPWP\BPWPMyAccount::bpwp_verify_form_scripts()
S
67 1 9
BPWP\BPWPWooProductCatExport::bpwp_export_ui_btns()
S
73 1 4
BPWP\BPWPBonusPlus_Core::bpwp_true_load_plugin_textdomain()
S
77 1 3