WPSEO_Addon_Manager B

Total Complexity 95
Dependencies 5
Dependents 4
Total lines 815
Lines of code 374
Logical lines of code 172
Comment lines 320
Methods 38
Properties 2

Methods 38

Method Rating Maintainability Complexity Lines of code
check_for_updates()
A
47 10 35
get_banners()
S
52 6 29
get_icon()
S
61 6 14
validate_addons()
S
54 5 21
get_plugin_information()
S
57 5 17
get_site_information_transient()
S
62 5 11
convert_subscription_to_plugin()
S
49 3 30
get_myyoast_site_information()
S
60 4 15
get_plugin_file()
S
60 4 14
get_slug_by_plugin_file()
S
61 4 12
get_subscription()
S
67 3 8
map_subscription()
S
58 2 15
expired_subscription_warning()
S
65 3 7
extract_yoast_data()
S
66 3 9
is_installed()
S
61 2 13
create_notification()
S
59 1 15
register_expired_messages()
S
71 2 5
request_current_sites()
S
69 2 7
has_valid_subscription()
S
69 2 7
get_installed_addons_versions()
S
68 2 7
get_subscriptions_for_active_addons()
S
65 2 9
get_site_information()
S
72 2 6
get_plugins()
S
70 2 6
set_site_information_transient()
S
75 1 4
register_hooks()
S
69 1 6
is_plugin_active()
S
80 1 3
get_site_information_default()
S
71 1 6
map_site_information()
S
70 1 6
has_subscription_expired()
S
78 1 3
get_current_page()
S
79 1 3
get_active_addons()
S
78 1 3
get_installed_addons()
S
78 1 3
is_yoast_addon()
S
79 1 3
remove_site_information_transients()
S
77 1 4
has_installed_addons()
S
76 1 4
get_addon_filenames()
S
81 1 3
get_subscriptions()
S
81 1 3
get_support_section()
S
66 1 8