-
Home
-
Gutenberg
-
10.5.2
-
Code
-
Classes
- WP_Theme_JSON
Total Complexity |
146 |
Dependencies |
1 |
Dependents |
4 |
Total lines |
1,309 |
Lines of code |
569 |
Logical lines of code |
326 |
Comment lines |
454 |
Methods |
27 |
Properties |
2 |
Methods 27
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_from_editor_settings() |
C |
37 |
24 |
72 |
remove_insecure_settings() |
A |
45 |
12 |
41 |
get_blocks_metadata() |
A |
46 |
9 |
42 |
remove_insecure_properties() |
A |
49 |
9 |
35 |
remove_keys_not_in_schema() |
A |
56 |
8 |
17 |
compute_style_properties() |
A |
50 |
7 |
31 |
sanitize() |
S |
51 |
7 |
28 |
get_custom_templates() |
S |
58 |
6 |
15 |
merge() |
S |
50 |
5 |
30 |
compute_preset_classes() |
S |
53 |
5 |
23 |
get_block_styles() |
S |
54 |
5 |
22 |
to_property() |
S |
59 |
5 |
14 |
get_template_parts() |
S |
60 |
5 |
14 |
to_ruleset() |
S |
53 |
4 |
24 |
remove_insecure_styles() |
S |
56 |
4 |
17 |
get_setting_nodes() |
S |
57 |
4 |
17 |
get_style_nodes() |
S |
57 |
4 |
17 |
flatten_tree() |
S |
55 |
3 |
20 |
get_property_value() |
S |
56 |
3 |
19 |
get_css_variables() |
S |
58 |
3 |
15 |
get_stylesheet() |
S |
60 |
3 |
13 |
compute_preset_vars() |
S |
60 |
3 |
12 |
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 |
__construct() |
S |
75 |
1 |
4 |