ms_theme_editor_admin D

Total Complexity 420
Dependencies 3
Dependents 1
Total lines 1,625
Lines of code 1,344
Logical lines of code 1,102
Comment lines 11
Methods 65
Properties 31

Methods 65

Method Rating Maintainability Complexity Lines of code
ms_create_child_theme()
D
21
61 165
insert_with_markers()
D
29 37 111
evaluate_signals()
C
35 31 74
get_files()
C
35 24 73
enqueue_parent_code()
C
35 23 80
rewrite_stylesheet_header()
B
34 22 87
unset_writable()
B
38 21 62
copy_parent_file()
A
46 13 37
load_config()
A
46 11 37
process_post()
A
47 10 35
backup_or_restore_file()
A
49 9 29
repair_header()
A
46 8 35
verify_child_dir()
A
49 8 30
is_theme()
A
59 9 13
clone_child_theme()
S
51 7 24
set_writable()
S
57 7 15
write_child_file()
S
50 6 29
ajax_query_css()
S
51 6 24
ajax_save_postdata()
S
52 6 24
delete_child_file()
S
55 6 18
update_redirect()
S
60 5 11
get_themes()
S
54 4 21
verify_creds()
S
54 4 20
convert_enqueue_to_import()
S
56 4 17
debug()
S
73 5 4
convert_import_to_enqueue()
S
59 4 12
enqueue_parent_css()
S
60 4 12
unserialize_postarrays()
S
71 4 5
serialize_postarrays()
S
71 4 5
fspath()
S
60 3 13
get_theme_mods()
S
59 3 13
set_enqueue_priority()
S
60 3 12
add_base_files()
S
58 2 16
get_child_stylesheet()
S
65 3 9
copy_theme_mods()
S
70 3 6
set_theme_mods()
S
60 2 13
reset_child_theme()
S
58 1 16
ctc_page_init()
S
65 2 9
parse_additional_stylesheets_to_source()
S
70 2 6
theme_basename()
S
70 2 5
network_enable()
S
68 2 7
normalize_path()
S
67 2 7
is_legacy()
S
75 2 4
get_current_parent()
S
73 2 5
get_current_child()
S
73 2 5
toggle_debug()
S
64 2 10
__construct()
S
61 1 12
cache_debug()
S
67 1 8
check_theme_exists()
S
74 1 4
render()
S
83 1 3
get()
S
80 1 3
uploads_basename()
S
69 1 6
validate_post()
S
83 1 3
save_config()
S
83 1 3
copy_screenshot()
S
82 1 3
sanitize_options()
S
83 1 3
uploads_fullpath()
S
70 1 6
sanitize_slug()
S
79 1 3
log_debug()
S
75 1 4
get_debug()
S
79 1 3
parse_genesis_stylesheet_to_source()
S
80 1 3
parse_custom_stylesheet_to_target()
S
80 1 3
parse_child_stylesheet_to_target()
S
80 1 3
parse_child_stylesheet_to_source()
S
80 1 3
parse_parent_stylesheet_to_source()
S
82 1 3