WP_Theme_JSON C

Total Complexity 119
Dependencies 1
Dependents 3
Total lines 1,130
Lines of code 463
Logical lines of code 241
Comment lines 417
Methods 21
Properties 2

Methods 21

Method Rating Maintainability Complexity Lines of code
remove_insecure_properties()
B
37 20 78
__construct()
A
44 15 50
get_blocks_metadata()
A
46 9 42
merge()
A
52 8 25
compute_style_properties()
A
50 7 31
get_block_styles()
S
50 7 30
get_custom_templates()
S
58 6 15
compute_preset_classes()
S
53 5 23
get_template_parts()
S
60 5 14
to_property()
S
59 5 14
remove_keys_not_in_schema()
S
61 5 12
to_ruleset()
S
53 4 24
get_css_variables()
S
57 4 17
flatten_tree()
S
55 3 20
get_property_value()
S
56 3 19
compute_preset_vars()
S
60 3 12
get_stylesheet()
S
65 3 10
compute_theme_vars()
S
62 2 11
get_settings()
S
69 2 7
has_properties()
S
71 2 6
get_raw_data()
S
82 1 3