Code Analysis: Cloudbridge Mattermost 2.2.1

Function Rating Maintainability Complexity Lines of code
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_make_alert_message()
C
31 25 105
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_get_option()
C
40 28 56
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_admin_page()
C
35 24 83
CloudbridgeMattermost\Cloudbridge_Mattermost::__construct()
B
34 17 82
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_wp_loaded()
B
42 19 45
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_do_cloudflare_lookup()
A
50 16 29
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_login_form_message()
A
45 13 41
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_get_wp_roles()
A
45 10 42
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_setting_sanitize_textarea_setting()
A
52 9 24
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_get_plugin_info()
A
51 8 27
CIDRmatch\CIDRmatch::match()
A
52 8 25
cbmmCIDRmatch\CIDRmatch::match()
A
52 8 25
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_alert_failed_login()
A
52 8 23
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_roles_merge()
A
54 8 19
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_settings()
A
36 4 78
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_setting_sanitize_roles()
S
57 7 16
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_alert_send()
S
50 5 29
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_role_is_active()
S
60 6 12
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_registration_form()
S
51 5 26
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_login_form()
S
51 5 25
CIDRmatch\CIDRmatch::IPv6MaskToByteArray()
S
56 5 19
cbmmCIDRmatch\CIDRmatch::IPv6MaskToByteArray()
S
56 5 19
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_setting_roles_warn()
S
55 5 18
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_setting_roles_notify()
S
55 5 18
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_setting_roles_password_reset()
S
55 5 18
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_setting_password_reset_skip_email()
S
55 5 18
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_setting_roles_adduser()
S
55 5 18
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_setting_roles_deleteuser()
S
55 5 18
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_oauth2_mm_login_roles()
S
55 5 18
CIDRmatch\CIDRmatch::IPv6Match()
S
63 6 9
CIDRmatch\CIDRmatch::IPv4Match()
S
61 6 10
cbmmCIDRmatch\CIDRmatch::IPv6Match()
S
63 6 9
cbmmCIDRmatch\CIDRmatch::IPv4Match()
S
61 6 10
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_get_message_user_display()
S
59 5 14
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_settings_cloudflare_callback()
S
58 4 16
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_setting_sanitize_site_label()
S
64 5 9
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_setting_sanitize_emoji()
S
64 5 9
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_setting_sanitize_advanced()
S
64 5 9
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_oauth2_mm_sanitize_client_id_secret()
S
64 5 9
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_alert_login()
S
59 4 14
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_settings_emoji_callback()
S
59 4 14
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_handle_register_user()
S
60 4 13
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_password_reset_hook()
S
61 4 12
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_handle_delete_user()
S
62 4 12
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_settings_oauth2_callback()
S
61 4 12
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_registration_form_head()
S
62 4 11
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_menu()
S
63 4 11
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_settings_advanced_callback()
S
63 4 10
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_setting_sanitize_webhook()
S
69 4 6
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_oauth2_mm_sanitize_base_url()
S
69 4 6
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_about_page()
S
47 1 41
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_handle_uninstalled_plugin()
S
65 3 9
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_get_lang_string()
S
69 3 7
CloudbridgeMattermost\Cloudbridge_Mattermost::run()
S
61 2 12
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_handle_deactivate_plugin()
S
66 2 8
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_config_get_oauth2_login_roles()
S
68 2 7
cbmm_admin_error_redirect()
S
67 2 8
CloudbridgeMattermost\Cloudbridge_Mattermost::getInstance()
S
75 2 4
CloudbridgeMattermost\Cloudbridge_Mattermost::setup_locale()
S
70 2 6
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_oauth2_setting_allow_register()
S
62 2 10
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_registration_link()
S
67 2 8
CloudbridgeMattermost\Cloudbridge_Mattermost::resource_mtime()
S
69 2 7
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_oauth2_setting_force_register()
S
62 2 10
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_handle_activate_plugin()
S
66 2 8
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_config_get_oauth2_url()
S
81 1 3
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_oauth2_setting_allow_usernames()
S
67 1 7
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_oauth2_setting_use_id_for_uuname()
S
67 1 7
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_handle_uninstall_plugin()
S
79 1 3
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_setting_webhook_url()
S
64 1 9
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_setting_mm_channel()
S
71 1 5
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_setting_site_label()
S
71 1 5
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_oauth2_mm_client_secret()
S
67 1 7
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_setting_notify_plugin_uninstall()
S
67 1 7
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_config_get_oauth2_client_secret()
S
81 1 3
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_setting_notice_emoji()
S
70 1 5
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_config_get_oauth2_allow_register()
S
81 1 3
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_setting_force_locale_enus()
S
67 1 7
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_config_get_oauth2_callback_url()
S
81 1 3
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_config_get_oauth2_register_use_mm_id_for_uuname()
S
81 1 3
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_settings_cloudflare_ipv4()
S
70 1 6
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_config_get_oauth2_client_id()
S
81 1 3
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_setup_css_login()
S
72 1 5
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_setting_link_emoji()
S
70 1 5
run_cbmm()
S
77 1 4
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_setting_notify_plugin_deactivate()
S
67 1 7
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_settings_link()
S
69 1 6
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_setting_remove()
S
67 1 7
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_setting_unknown_notify()
S
67 1 7
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_setup_css()
S
77 1 3
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_config_get_oauth2_allow_usernames()
S
81 1 3
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_deactivate_plugin()
S
68 1 7
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_settings_cloudflare_ipv6()
S
70 1 6
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_setting_mm_username()
S
71 1 5
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_setting_cloudflare_check()
S
66 1 8
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_setting_mm_mention()
S
71 1 5
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_setting_warning_emoji()
S
70 1 5
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_setting_bell_emoji()
S
70 1 5
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_oauth2_active()
S
81 1 3
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_setting_notify_plugin_activate()
S
67 1 7
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_oauth2_mm_base_url()
S
67 1 7
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_setting_link_admin()
S
67 1 7
CloudbridgeMattermost\Cloudbridge_Mattermost::cbmm_oauth2_mm_client_id()
S
67 1 7