Mega_Menu_Themes D

Total Complexity 147
Dependencies 1
Dependents 1
Total lines 3,466
Lines of code 2,864
Logical lines of code 479
Comment lines 248
Methods 40
Properties 3

Methods 40

Method Rating Maintainability Complexity Lines of code
theme_editor_page()
D
0
38 2,205
print_messages()
A
45 9 48
theme_is_being_used_by_location()
A
54 10 20
get_prepared_theme_for_saving()
A
51 8 26
export_theme()
A
43 6 51
import_theme()
S
46 4 40
get_next_theme_id()
S
57 5 16
init()
S
58 5 15
theme_selector()
S
57 4 15
should_show_flex_option()
S
63 5 10
show_cache_warning()
S
54 3 25
save_theme()
S
56 3 19
print_theme_align_option()
S
57 3 17
ajax_save_theme()
S
58 3 16
delete_theme()
S
58 3 16
print_theme_color_option()
S
61 3 12
print_theme_textarea_option()
S
50 1 36
print_theme_weight_option()
S
56 2 17
print_theme_close_option()
S
57 2 16
print_theme_arrow_option()
S
57 2 16
codemirror_disable_lint()
S
67 3 7
string_contains()
S
67 3 8
compare_elems()
S
66 3 9
print_theme_font_option()
S
59 2 13
revert_theme()
S
61 2 12
import_theme_page()
S
57 1 24
arrow_icons()
S
54 1 22
fonts()
S
57 1 19
close_icons()
S
57 1 17
duplicate_theme()
S
57 1 15
create_theme()
S
58 1 15
__construct()
S
60 1 12
print_theme_checkbox_option()
S
68 1 8
print_theme_text_decoration_option()
S
64 1 10
print_theme_mobile_columns_option()
S
64 1 10
print_theme_copy_color_option()
S
81 1 6
print_theme_transform_option()
S
63 1 9
redirect()
S
77 1 4
print_theme_freetext_option()
S
73 1 4
add_themes_tab()
S
75 1 4