Code Analysis: Popups - WordPress Popup 1.9.3.8

Function Rating Maintainability Complexity Lines of code
Spu_Rules::rule_match_page_type()
D
27
52 136
Spu_Helper::ajax_render_rules()
D
24
37 165
SPU_Welcome::wppopups_admin_hide_unrelated_notices()
D
39 40 54
SocialPopup_Admin::save_meta_options()
C
31 26 107
Spu_Rules::rule_match_taxonomy()
B
40 20 67
Spu_Rules::rule_match_post_category()
A
44 15 51
Spu_Helper::print_select()
A
43 15 50
Spu_Rules::__construct()
A
40 14 55
SPU_Welcome::output()
A
30 1 206
SocialPopup::enqueue_social_shortcodes()
A
50 12 26
SocialPopup::google_shortcode()
A
53 10 20
SocialPopup_Admin::get_taxonomies()
A
49 9 32
SocialPopup::check_for_matches()
A
53 9 22
SocialPopup_Admin::tinymce_init()
A
50 8 30
Spu_Helper::ajax_render_operator()
A
45 7 44
SocialPopup::get_polylang_ids()
A
48 7 31
SocialPopup_Admin::editor_styles()
S
59 8 12
Spu_Rules::check_rules()
S
52 7 26
Spu_Helper::hex2rgba()
S
52 7 24
SocialPopup::get_spu_ids()
S
55 7 19
SocialPopup::facebook_shortcode()
S
54 7 19
SocialPopup_Admin::toggle_on_popup()
S
56 7 17
Spu_Rules::rule_match_post_format()
S
53 6 24
SocialPopup::get_wpml_ids()
S
53 6 20
SocialPopup_Upgrader::upgrade_plugin()
S
59 6 14
SocialPopup::enqueue_scripts()
S
49 5 28
Spu_Rules::rule_match_user_type()
S
53 5 26
SocialPopup_Admin::add_meta_boxes()
S
42 2 66
Spu_Rules::rule_match_post_status()
S
56 5 20
Spu_Helper::get_box_options()
S
43 3 49
Spu_Rules::rule_match_page_template()
S
57 5 17
SocialPopup::activate()
S
58 5 16
SocialPopup::deactivate()
S
58 5 16
SocialPopup_Admin::custom_columns()
S
57 5 16
SPU_Welcome::redirect()
S
64 6 9
SocialPopup_Admin::enqueue_admin_scripts()
S
49 4 28
Spu_Rules::rule_match_custom_url()
S
60 5 12
SocialPopup::register_cpt()
S
42 2 52
SocialPopup::__construct()
S
47 3 35
SocialPopup_Admin::get_post_types()
S
56 4 17
Spu_Rules::rule_match_page_parent()
S
58 4 17
SocialPopup_Admin::extra_checks()
S
66 5 7
Spu_Rules::rule_match_search_engine()
S
61 5 10
SocialPopup_Admin::settings_page()
S
55 3 19
Spu_Rules::rule_match_desktop()
S
66 4 8
SPU_Welcome::__construct()
S
62 4 10
Spu_Rules::rule_match_referrer()
S
67 4 7
SocialPopup_Admin::enqueue_admin_styles()
S
63 4 9
Spu_Rules::rule_match_post()
S
60 3 13
Spu_Rules::rule_match_post_type()
S
62 3 12
SocialPopup::get_info()
S
63 3 12
SocialPopup_Admin::get_rules_choices()
S
46 1 38
Spu_Helper::get_box_rules()
S
57 2 19
SocialPopup::single_activate()
S
56 2 18
Spu_Rules::rule_match_query_string()
S
68 3 6
SocialPopup::add_no_index()
S
72 3 5
SocialPopup::close_shortcode()
S
63 3 9
Spu_Rules::get_post_type()
S
69 3 6
Spu_Rules::rule_match_keyword_url()
S
66 3 7
SocialPopup::print_boxes()
S
64 3 10
SocialPopup::register_spu_ajax()
S
69 3 7
SPU_Welcome::scripts()
S
70 3 5
SocialPopup_Admin::__construct()
S
49 1 29
SocialPopup_Admin::set_rules_fields()
S
51 1 27
SocialPopup_Admin::disable_gutenberg()
S
72 2 6
SocialPopup_Notices::__construct()
S
72 2 5
SocialPopup::get_instance()
S
72 2 6
SocialPopup::activate_new_site()
S
68 2 8
Spu_Rules::rule_match_mobiles()
S
67 2 8
Spu_Rules::rule_match_crawlers()
S
67 2 8
Spu_Rules::rule_match_same_site()
S
64 2 9
Spu_Rules::rule_match_left_comment()
S
68 2 7
SocialPopup_Admin::get_instance()
S
72 2 6
Spu_Rules::rule_match_logged_user()
S
69 2 7
Spu_Rules::rule_match_browser()
S
67 2 8
Spu_Rules::rule_match_tablets()
S
67 2 8
SocialPopup::load_dependencies()
S
76 1 4
SocialPopup_Admin::add_button()
S
75 1 4
SocialPopup::single_deactivate()
S
89 1 2
SocialPopup::load_plugin_textdomain()
S
68 1 6
SocialPopup_Admin::ajax_notice_handler()
S
77 1 4
SocialPopup_Admin::add_editor()
S
83 1 3
SocialPopup::register_scripts()
S
62 1 10
SocialPopup_Admin::add_settings_menu()
S
76 1 3
SocialPopup_Admin::metabox_donate()
S
74 1 4
SocialPopup::get_settings()
S
83 1 3
SocialPopup_Admin::popup_appearance()
S
75 1 4
SocialPopup::popup_link_shortcode()
S
77 1 3
SocialPopup_Notices::pair_plugins()
S
67 1 8
SocialPopup_Notices::rate_plugin()
S
65 1 10
SPU_Welcome::register()
S
66 1 9
SocialPopup::get_blog_ids()
S
69 1 7
SocialPopup_Admin::register_button()
S
76 1 4
SocialPopup::facebook_page_shortcode()
S
61 1 10
SocialPopup_Admin::add_action_links()
S
67 1 8
SocialPopup_Admin::popup_help()
S
82 1 3
SocialPopup_Admin::register_tiny_buttons()
S
75 1 4
SocialPopup_Admin::metabox_video()
S
74 1 4
SocialPopup_Admin::popup_premium()
S
82 1 3
SPU_Welcome::popups_small_notice()
S
71 1 8
SPU_Welcome::hide_menu()
S
80 1 3
SocialPopup::get_plugin_slug()
S
82 1 3
SocialPopup_Admin::set_custom_cpt_columns()
S
65 1 8
SocialPopup_Admin::metabox_support()
S
74 1 4
SocialPopup_Admin::popup_options()
S
75 1 4
SocialPopup::twitter_shortcode()
S
63 1 9
SocialPopup_Admin::popup_rules()
S
75 1 4
Spu_Helper::print_textfield()
S
76 1 3