WPSEO_Addon_Manager B

Total Complexity 97
Dependencies 6
Dependents 4
Total lines 866
Lines of code 391
Logical lines of code 178
Comment lines 265
Methods 37
Properties 3

Methods 37

Method Rating Maintainability Complexity Lines of code
check_for_updates()
A
47 10 35
get_site_information_transient()
S
58 7 14
get_banners()
S
52 6 29
get_icon()
S
61 6 14
expired_subscription_warning()
S
52 5 23
get_plugin_information()
S
57 5 17
validate_addons()
S
59 5 14
convert_subscription_to_plugin()
S
48 3 33
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
extract_yoast_data()
S
66 3 9
is_installed()
S
61 2 13
create_notification()
S
55 1 20
request_current_sites()
S
69 2 7
get_subscriptions_for_active_addons()
S
65 2 9
register_expired_messages()
S
71 2 5
has_valid_subscription()
S
69 2 7
map_subscription()
S
59 1 15
get_site_information()
S
72 2 6
get_plugins()
S
70 2 6
get_installed_addons_versions()
S
68 2 7
map_site_information()
S
70 1 6
get_site_information_default()
S
71 1 6
is_plugin_active()
S
80 1 3
set_site_information_transient()
S
75 1 4
register_hooks()
S
69 1 6
get_active_addons()
S
78 1 3
get_installed_addons()
S
78 1 3
is_yoast_addon()
S
79 1 3
has_subscription_expired()
S
78 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