WP_Theme_JSON C

Total Complexity 119
Dependencies 1
Dependents 3
Total lines 1,201
Lines of code 478
Logical lines of code 246
Comment lines 447
Methods 21
Properties 2

Methods 21

Method Rating Maintainability Complexity Lines of code
remove_insecure_properties()
B
36 20 79
__construct()
B
42 17 55
get_blocks_metadata()
B
40 15 63
compute_style_properties()
A
48 8 34
merge()
A
52 8 25
get_block_styles()
A
50 7 31
get_case_mappings()
S
53 5 23
compute_preset_classes()
S
54 5 21
remove_keys_not_in_schema()
S
62 5 11
to_ruleset()
S
53 4 24
get_css_variables()
S
56 4 18
flatten_tree()
S
55 3 20
get_property_value()
S
56 3 19
compute_preset_vars()
S
61 3 11
get_stylesheet()
S
65 3 10
has_properties()
S
71 2 6
compute_theme_vars()
S
63 2 10
get_settings()
S
69 2 7
to_kebab_case()
S
75 1 4
to_property()
S
75 1 4
get_raw_data()
S
82 1 3