Stackable_Global_Settings D

Total Complexity 154
Dependencies 2
Dependents 3
Total lines 1,181
Lines of code 800
Logical lines of code 310
Comment lines 240
Methods 32
Properties 4

Methods 32

Method Rating Maintainability Complexity Lines of code
generate_typography_styles()
D
31 30 111
generate_global_block_layouts()
C
33 27 87
register_global_settings()
B
26
1 279
color_add_global_styles()
A
49 13 30
typography_parse_global_styles()
A
48 12 31
typography_detect_native_blocks()
A
50 12 27
get_font_family()
S
57 6 16
__construct()
S
56 5 17
clamp_inherited_style()
S
67 4 7
form_selectors()
S
64 4 9
form_tag_selector()
S
59 3 14
append_unit_if_needed()
S
70 3 6
posts_block_columns_fix()
S
65 3 9
clean_font_size()
S
70 3 6
get_block_layout_defaults()
S
66 3 9
extract_rgba()
S
61 2 13
rgba_to_hex_alpha()
S
59 2 12
form_paragraph_selector()
S
62 2 12
create_global_schema()
S
53 1 25
get_apply_typography_to()
S
75 2 4
str_replace_first()
S
68 2 7
fix_deprecated_options()
S
66 2 8
sanitize_array_setting()
S
79 2 3
create_style()
S
77 2 3
form_class_selector()
S
60 1 14
get_string_four_range_properties()
S
62 1 12
get_four_range_properties()
S
62 1 12
get_number_properties()
S
75 1 4
get_string_properties()
S
75 1 4
typography_add_global_styles()
S
80 1 3
get_block_layout_unit()
S
78 1 3
get_block_layout_states()
S
78 1 3