UpdraftCentral_Theme_Commands D

Total Complexity 151
Dependencies 6
Dependents 0
Total lines 956
Lines of code 588
Logical lines of code 343
Comment lines 236
Methods 26
Properties 1

Methods 26

Method Rating Maintainability Complexity Lines of code
_apply_theme_action()
D
25
34 167
load_themes()
C
33 26 88
_prepare_theme_data()
A
48 11 29
_validate_fields_and_capabilities()
A
52 9 25
process_action_in_bulk()
S
59 8 13
_get_theme_info()
S
52 6 24
_prepare_paginated_response()
S
45 4 45
update_theme()
S
52 5 25
install_activate_theme()
S
55 5 19
delete_theme()
S
51 4 29
_pre_action()
S
67 5 7
_preload_credentials()
S
63 5 10
_sort_themes_with_active()
S
67 4 7
activate_theme()
S
60 3 14
network_enable_theme()
S
60 3 14
network_disable_theme()
S
60 3 14
install_theme()
S
59 3 14
_add_update_info()
S
62 2 11
_post_action()
S
80 2 3
is_theme_installed()
S
69 2 6
_sort_themes_by_name()
S
71 2 5
__construct()
S
78 1 3
upload_theme()
S
79 1 3
_prepare_legacy_response()
S
68 1 7
_filter_non_snoozed()
S
81 1 3
get_theme_requirements()
S
79 1 3