-
Home
-
Gutenberg
-
9.7.2
-
Code
-
Classes
- WP_Theme_JSON
Total Complexity |
88 |
Dependencies |
1 |
Dependents |
1 |
Total lines |
1,012 |
Lines of code |
370 |
Logical lines of code |
192 |
Comment lines |
396 |
Methods |
18 |
Properties |
2 |
Methods 18
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_blocks_metadata() |
A |
41 |
15 |
59 |
process_key() |
A |
45 |
13 |
45 |
__construct() |
A |
48 |
8 |
36 |
compute_style_properties() |
A |
48 |
8 |
34 |
merge() |
A |
52 |
8 |
27 |
compute_preset_classes() |
S |
54 |
5 |
21 |
to_ruleset() |
S |
53 |
4 |
24 |
get_block_styles() |
S |
57 |
4 |
16 |
flatten_tree() |
S |
55 |
3 |
20 |
get_property_value() |
S |
56 |
3 |
19 |
get_css_variables() |
S |
58 |
3 |
15 |
compute_preset_vars() |
S |
61 |
3 |
11 |
get_stylesheet() |
S |
65 |
3 |
10 |
compute_theme_vars() |
S |
63 |
2 |
10 |
has_properties() |
S |
71 |
2 |
6 |
extract_settings() |
S |
71 |
2 |
6 |
get_settings() |
S |
68 |
1 |
8 |
get_raw_data() |
S |
82 |
1 |
3 |