WPSEO_Addon_Manager B

Total Complexity 81
Dependencies 5
Dependents 5
Total lines 724
Lines of code 328
Logical lines of code 143
Comment lines 291
Methods 35
Properties 2

Methods 35

Method Rating Maintainability Complexity Lines of code
get_banners()
S
52 6 29
check_for_updates()
S
55 6 19
get_icon()
S
61 6 14
validate_addons()
S
54 5 21
get_plugin_information()
S
61 5 13
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
get_subscription()
S
67 3 8
map_subscription()
S
58 2 15
is_installed()
S
61 2 13
convert_subscription_to_plugin()
S
51 1 26
has_valid_subscription()
S
69 2 7
create_notification()
S
59 1 15
get_installed_addons_versions()
S
68 2 7
get_subscriptions_for_active_addons()
S
65 2 9
get_plugins()
S
70 2 6
get_site_information()
S
72 2 6
request_current_sites()
S
69 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
get_current_page()
S
79 1 3
register_hooks()
S
71 1 5
get_active_addons()
S
78 1 3
get_installed_addons()
S
78 1 3
is_yoast_addon()
S
79 1 3
get_subscriptions()
S
81 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_support_section()
S
66 1 8