TGM_Plugin_Activation D

Total Complexity 228
Dependencies 7
Dependents 1
Total lines 1,839
Lines of code 858
Logical lines of code 409
Comment lines 773
Methods 51
Properties 18

Methods 51

Method Rating Maintainability Complexity Lines of code
notices()
D
27
36 128
do_plugin_install()
C
32 24 97
maybe_adjust_source_dir()
A
45 15 36
init()
A
33 10 107
activate_single_plugin()
A
46 9 39
register()
A
47 9 36
install_plugins_page()
S
52 7 26
inject_update_info()
S
54 6 20
add_plugin_action_link_filters()
S
59 5 13
get_info_link()
S
51 4 28
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_download_url()
S
62 4 12
get_tgmpa_url()
S
58 3 16
is_tgmpa_complete()
S
63 4 10
force_deactivation()
S
67 4 7
can_plugin_update()
S
63 4 10
get_plugin_source_type()
S
65 4 9
_get_plugin_data_from_name()
S
66 4 8
admin_menu()
S
57 2 17
is_plugin_active()
S
76 3 3
get_wp_repo_download_url()
S
67 3 8
get_instance()
S
70 3 6
_get_plugin_basename_from_slug()
S
65 3 9
get_upgrade_notice()
S
63 3 10
display_settings_errors()
S
64 3 10
add_admin_menu()
S
62 3 10
actions()
S
72 2 6
get_plugins()
S
70 2 6
get_installed_version()
S
68 2 7
dismiss()
S
72 2 5
is_tgmpa_page()
S
78 2 3
thickbox()
S
72 2 5
can_plugin_activate()
S
78 2 3
does_plugin_require_update()
S
72 1 5
update_dismiss()
S
78 1 3
show_tgmpa_version()
S
72 1 5
__construct()
S
72 1 5
is_plugin_installed()
S
74 1 4
get_tgmpa_status_url()
S
68 1 8
__set()
S
83 1 3
sanitize_key()
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
__get()
S
81 1 3
flush_plugins_cache()
S
81 1 3