Create_Block_Theme_Admin C

Total Complexity 108
Dependencies 10
Dependents 1
Total lines 1,044
Lines of code 791
Logical lines of code 385
Comment lines 101
Methods 36
Properties 0

Methods 36

Method Rating Maintainability Complexity Lines of code
blockbase_save_theme()
C
37 23 78
create_admin_form_page()
A
33 3 152
copy_theme_to_zip()
A
47 9 34
create_blank_theme()
A
43 6 49
filter_theme_template()
S
56 7 18
get_theme_templates()
S
48 5 38
clear_user_customizations()
S
51 5 27
add_templates_to_zip()
S
54 5 22
add_templates_to_local()
S
54 5 22
add_theme_json_variation_to_local()
S
55 4 20
create_sibling_theme()
S
47 2 38
clone_theme()
S
47 2 38
create_child_theme()
S
48 2 34
is_valid_screenshot()
S
66 4 7
build_readme_txt()
S
49 1 39
get_theme_slug()
S
66 3 8
build_child_style_css()
S
54 1 25
create_admin_menu()
S
64 2 9
export_child_theme()
S
58 1 15
export_theme()
S
58 1 15
create_zip()
S
66 2 8
__construct()
S
75 1 4
save_theme_locally()
S
78 1 4
save_variation()
S
80 1 3
add_theme_json_to_zip()
S
71 1 7
add_theme_json_to_local()
S
72 1 6
replace_namespace()
S
64 1 10
form_script()
S
79 1 3
admin_notice_error_theme_name()
S
72 1 5
admin_notice_error_variation_name()
S
72 1 5
admin_notice_export_success()
S
72 1 7
admin_notice_save_success()
S
72 1 7
admin_notice_blank_success()
S
67 1 8
admin_notice_variation_success()
S
64 1 9
admin_notice_error_theme_file_permissions()
S
66 1 9
admin_notice_error_themes_file_permissions()
S
68 1 8