WP_Theme_JSON_Resolver_Gutenberg A

Total Complexity 73
Dependencies 10
Dependents 6
Total lines 682
Lines of code 302
Logical lines of code 183
Comment lines 295
Methods 16
Properties 8

Methods 16

Method Rating Maintainability Complexity Lines of code
get_theme_data()
B
39 15 63
get_user_data_from_wp_global_styles()
A
42 7 52
get_user_data()
A
50 8 29
get_block_data()
S
52 7 23
get_merged_data()
S
55 5 22
get_style_variations()
S
53 5 21
has_same_registered_blocks()
S
58 4 15
read_json_file()
S
61 4 13
get_core_data()
S
61 3 11
translate()
S
67 3 7
remove_json_comments()
S
65 3 9
get_user_global_styles_post_id()
S
64 3 10
get_file_path_from_theme()
S
71 3 5
clean_cached_data()
S
61 1 14
get_fields_to_translate()
S
76 1 4
theme_has_support()
S
75 1 4