TGM_Plugin_Activation D

Total Complexity 263
Dependencies 8
Dependents 1
Total lines 2,047
Lines of code 929
Logical lines of code 458
Comment lines 896
Methods 58
Properties 18

Methods 58

Method Rating Maintainability Complexity Lines of code
notices()
D
32 34 94
do_plugin_install()
C
32 25 99
maybe_adjust_source_dir()
A
45 15 36
init()
A
35 10 94
activate_single_plugin()
A
46 9 39
register()
A
47 9 36
create_user_action_links_for_notice()
A
45 8 40
install_plugins_page()
S
52 7 26
is_core_update_page()
S
59 7 14
inject_update_info()
S
54 6 20
overload_textdomain_mofile()
S
61 6 12
add_plugin_action_link_filters()
S
59 5 13
get_info_link()
S
51 4 28
force_deactivation()
S
60 5 12
force_activation()
S
62 5 11
config()
S
54 4 24
get_plugins_api()
S
57 4 16
populate_file_path()
S
64 5 9
admin_init()
S
59 4 14
does_plugin_have_update()
S
60 4 13
get_admin_notice_class()
S
60 4 13
get_download_url()
S
62 4 12
load_textdomain()
S
60 4 12
get_tgmpa_url()
S
58 3 16
_get_plugin_data_from_name()
S
66 4 8
get_plugin_source_type()
S
65 4 9
is_tgmpa_complete()
S
63 4 10
can_plugin_update()
S
63 4 10
admin_menu()
S
57 2 17
dismiss()
S
71 3 5
is_plugin_active()
S
76 3 3
get_upgrade_notice()
S
63 3 10
get_wp_repo_download_url()
S
67 3 8
_get_plugin_basename_from_slug()
S
65 3 9
display_settings_errors()
S
64 3 10
add_admin_menu()
S
62 3 10
is_plugin_updatetable()
S
68 3 7
get_instance()
S
70 3 6
get_installed_version()
S
68 2 7
can_plugin_activate()
S
78 2 3
get_plugins()
S
70 2 6
actions()
S
72 2 6
thickbox()
S
72 2 5
is_tgmpa_page()
S
78 2 3
correct_plugin_mofile()
S
70 2 6
get_tgmpa_status_url()
S
68 1 8
is_plugin_installed()
S
74 1 4
flush_plugins_cache()
S
81 1 3
__set()
S
83 1 3
sanitize_key()
S
72 1 5
does_plugin_require_update()
S
72 1 5
filter_plugin_action_links_update()
S
65 1 9
filter_plugin_action_links_deactivate()
S
76 1 4
filter_plugin_action_links_activate()
S
76 1 4
update_dismiss()
S
78 1 3
__get()
S
81 1 3
show_tgmpa_version()
S
66 1 10
__construct()
S
67 1 7