WPSEO_Admin_Init B

Total Complexity 76
Dependencies 24
Dependents 1
Total lines 698
Lines of code 367
Logical lines of code 140
Comment lines 243
Methods 35
Properties 2

Methods 35

Method Rating Maintainability Complexity Lines of code
yoast_plugin_update_notification()
A
50 8 27
show_hook_deprecation_warnings()
S
45 3 52
should_display_search_engines_discouraged_notice()
S
58 5 16
get_latest_major_wordpress_version()
S
59 5 13
load_meta_boxes()
S
63 5 9
yoast_plugin_suggestions_notification()
S
59 4 14
register_i18n_promo_class()
S
52 3 27
__construct()
S
49 2 32
get_yoast_seo_update_notification()
S
51 2 28
search_engines_discouraged_notice()
S
58 2 16
permalink_settings_notice()
S
59 2 16
load_taxonomy_class()
S
69 3 8
load_admin_user_class()
S
68 3 7
load_admin_page_class()
S
65 3 9
has_default_tagline()
S
67 2 7
add_publish_box_section()
S
67 2 8
load_xml_sitemaps_admin()
S
74 2 5
register_premium_upsell_admin_block()
S
71 2 6
on_wpseo_admin_page()
S
76 2 3
get_yoast_seo_suggested_plugins_notification()
S
59 1 15
enqueue_dismissible()
S
81 1 3
page_comments_notice()
S
80 1 3
blog_public_notice()
S
80 1 3
permalink_notice()
S
80 1 3
tagline_notice()
S
80 1 3
has_page_comments()
S
75 1 4
wordpress_upgrade_notice()
S
80 1 3
ga_compatibility_notice()
S
80 1 3
are_search_engines_discouraged()
S
79 1 3
yoast_plugin_compatibility_notification()
S
80 1 3
get_major_minor_version()
S
73 1 4
unsupported_php_notice()
S
76 1 4
load_plugin_suggestions()
S
75 1 4
has_postname_in_permalink()
S
78 1 3
handle_notifications()
S
80 1 3