Mega_Menu_Style_Manager D

Total Complexity 139
Dependencies 4
Dependents 7
Total lines 1,278
Lines of code 735
Logical lines of code 306
Comment lines 305
Methods 45
Properties 1

Methods 45

Method Rating Maintainability Complexity Lines of code
get_complete_scss_for_location()
C
31 26 103
get_default_theme()
A
24
1 243
generate_css()
A
47 12 33
generate_css_for_location_new()
S
49 7 29
generate_css_for_location_old()
S
51 5 26
save_to_filesystem()
S
51 5 25
enqueue_fs_style()
S
58 5 14
generate_css_for_location()
S
66 5 7
process_theme_replacements()
S
63 5 10
test_theme_compilation()
S
59 4 14
merge_in_saved_themes()
S
62 4 12
setup_actions()
S
53 3 22
enqueue_scripts()
S
59 3 14
load_scss_file()
S
61 3 12
get_css()
S
69 3 7
delete_cache()
S
58 2 15
scripts_in_footer()
S
70 3 6
use_direct_filesystem_method()
S
70 3 6
get_theme_id_for_location()
S
72 2 5
get_menu_settings_for_location()
S
72 2 5
get_menu_id_for_location()
S
72 2 5
enqueue_styles()
S
69 2 7
get_theme_settings_for_location()
S
69 2 6
head_css()
S
64 2 9
get_css_output_method()
S
78 2 3
polylang_delete_cache()
S
70 2 6
is_debug_mode()
S
78 2 3
polylang_transient_key()
S
68 2 7
polylang_css_filename()
S
68 2 7
ensure_all_themes_have_all_default_theme_settings()
S
66 2 8
wpml_delete_cache()
S
70 2 6
wpml_transient_key()
S
76 1 4
get_css_filename()
S
78 1 3
get_transient_key()
S
79 1 3
__construct()
S
80 1 3
get_cached_css()
S
80 1 3
set_cached_css()
S
70 1 6
get_default_scss_file_location()
S
79 1 3
get_possible_scss_file_locations()
S
65 1 10
is_polylang_location()
S
79 1 3
sort_by_title()
S
78 1 3
get_themes()
S
67 1 8
default_themes()
S
75 1 4
clear_external_caches()
S
81 1 3
wpml_css_filename()
S
76 1 4