FluidCheckout_DesignTemplates A

Total Complexity 68
Dependencies 1
Dependents 6
Total lines 413
Lines of code 181
Logical lines of code 95
Comment lines 143
Methods 24
Properties 0

Methods 24

Method Rating Maintainability Complexity Lines of code
maybe_add_body_class()
S
62 7 11
maybe_output_custom_styles()
S
63 7 11
get_css_variables_styles()
S
58 5 13
maybe_add_css_variables_order_summary()
S
73 5 4
maybe_add_checkout_page_custom_styles()
S
73 5 4
add_body_class()
S
59 4 15
maybe_add_css_variables_footer()
S
73 5 4
maybe_add_css_variables_header()
S
73 5 4
merge_css_variables()
S
62 4 11
get_css_variables_dark_mode()
S
57 1 17
add_css_variables_order_summary()
S
64 2 10
add_css_variables_footer()
S
64 2 10
add_css_variables_header()
S
64 2 10
maybe_add_css_variables_dark_mode()
S
74 2 4
output_custom_styles()
S
69 2 6
add_checkout_page_custom_styles()
S
69 2 6
hooks()
S
64 1 9
is_button_design_styles_enabled()
S
78 1 3
is_button_color_styles_enabled()
S
78 1 3
is_dark_mode_enabled()
S
78 1 3
get_allowed_design_templates()
S
80 1 3
get_design_template_options()
S
66 1 8
undo_hooks()
S
64 1 9
__construct()
S
82 1 3