TGM_Plugin_Activation D

Total Complexity 263
Dependencies 7
Dependents 1
Total lines 17
Lines of code 74
Logical lines of code 458
Comment lines 0
Methods 58
Properties 18

Methods 58

Method Rating Maintainability Complexity Lines of code
notices()
C
75 34 1
do_plugin_install()
B
75 25 1
maybe_adjust_source_dir()
A
79 15 1
init()
A
78 10 1
register()
S
81 9 1
activate_single_plugin()
S
80 9 1
install_plugins_page()
S
56 7 17
create_user_action_links_for_notice()
S
80 8 1
is_core_update_page()
S
84 7 1
inject_update_info()
S
83 6 1
overload_textdomain_mofile()
S
84 6 1
force_activation()
S
85 5 1
force_deactivation()
S
84 5 1
add_plugin_action_link_filters()
S
84 5 1
populate_file_path()
S
85 5 1
get_admin_notice_class()
S
85 4 1
config()
S
84 4 1
get_plugin_source_type()
S
86 4 1
does_plugin_have_update()
S
85 4 1
_get_plugin_data_from_name()
S
86 4 1
can_plugin_update()
S
85 4 1
load_textdomain()
S
84 4 1
get_download_url()
S
85 4 1
get_plugins_api()
S
83 4 1
get_info_link()
S
82 4 1
is_tgmpa_complete()
S
85 4 1
admin_init()
S
84 4 1
get_wp_repo_download_url()
S
86 3 1
_get_plugin_basename_from_slug()
S
86 3 1
get_upgrade_notice()
S
85 3 1
dismiss()
S
86 3 1
is_plugin_active()
S
86 3 1
is_plugin_updatetable()
S
87 3 1
display_settings_errors()
S
86 3 1
get_tgmpa_url()
S
85 3 1
add_admin_menu()
S
84 3 1
get_instance()
S
87 3 1
get_plugins()
S
87 2 1
can_plugin_activate()
S
89 2 1
get_installed_version()
S
86 2 1
actions()
S
89 2 1
admin_menu()
S
84 2 1
correct_plugin_mofile()
S
87 2 1
thickbox()
S
87 2 1
is_tgmpa_page()
S
88 2 1
get_tgmpa_status_url()
S
88 1 1
filter_plugin_action_links_activate()
S
89 1 1
show_tgmpa_version()
S
87 1 1
__get()
S
92 1 1
update_dismiss()
S
88 1 1
does_plugin_require_update()
S
87 1 1
filter_plugin_action_links_deactivate()
S
89 1 1
filter_plugin_action_links_update()
S
86 1 1
sanitize_key()
S
87 1 1
__set()
S
94 1 1
flush_plugins_cache()
S
92 1 1
is_plugin_installed()
S
87 1 1
__construct()
S
85 1 1