-
Home
-
Gutenberg
-
14.7.1
-
Code
-
Classes
- WP_Theme_JSON_6_1
Total Complexity |
248 |
Dependencies |
2 |
Dependents |
1 |
Total lines |
1,684 |
Lines of code |
834 |
Logical lines of code |
480 |
Comment lines |
436 |
Methods |
19 |
Properties |
0 |
Methods 19
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_layout_styles() |
D |
26 |
45 |
148 |
set_spacing_sizes() |
C |
33 |
31 |
87 |
get_styles_for_block() |
B |
38 |
21 |
64 |
get_stylesheet() |
B |
37 |
19 |
74 |
compute_style_properties() |
B |
42 |
20 |
49 |
sanitize() |
A |
42 |
15 |
55 |
get_blocks_metadata() |
A |
42 |
14 |
52 |
get_block_nodes() |
A |
44 |
13 |
50 |
remove_insecure_properties() |
A |
43 |
12 |
49 |
get_root_layout_rules() |
A |
45 |
10 |
37 |
get_style_nodes() |
A |
47 |
10 |
36 |
get_property_value() |
A |
48 |
10 |
31 |
__construct() |
S |
52 |
7 |
23 |
scope_selector() |
S |
54 |
7 |
20 |
update_separator_declarations() |
S |
50 |
5 |
35 |
get_block_classes() |
S |
64 |
3 |
10 |
append_to_selector() |
S |
65 |
3 |
8 |
get_element_class_name() |
S |
77 |
2 |
3 |
get_styles_block_nodes() |
S |
80 |
1 |
3 |