WPSEO_Addon_Manager B

Total Complexity 86
Dependencies 5
Dependents 5
Total lines 756
Lines of code 348
Logical lines of code 156
Comment lines 297
Methods 36
Properties 2

Methods 36

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