WP_Theme_JSON_Resolver_Gutenberg C

Total Complexity 122
Dependencies 11
Dependents 16
Total lines 996
Lines of code 461
Logical lines of code 269
Comment lines 413
Methods 24
Properties 8

Methods 24

Method Rating Maintainability Complexity Lines of code
get_theme_data()
B
35 20 76
get_resolved_theme_uris()
A
43 13 50
get_user_data_from_wp_global_styles()
A
42 7 52
get_user_data()
A
50 8 27
inject_variations_from_block_style_variation_files()
A
52 8 24
get_style_variations_from_directory()
S
52 7 24
get_block_data()
S
53 7 22
get_style_variation_files_from_current_theme()
S
54 7 20
inject_variations_from_block_styles_registry()
S
53 6 22
get_merged_data()
S
56 5 20
has_same_registered_blocks()
S
58 4 15
read_json_file()
S
61 4 13
resolve_theme_file_uris()
S
58 3 15
get_file_path_from_theme()
S
68 3 6
style_variation_has_scope()
S
65 3 9
get_user_global_styles_post_id()
S
64 3 10
remove_json_comments()
S
65 3 9
get_core_data()
S
63 3 10
translate()
S
67 3 7
clean_cached_data()
S
61 1 14
get_fields_to_translate()
S
76 1 4
recursively_iterate_json()
S
71 1 5
get_style_variations()
S
79 1 3
theme_has_support()
S
75 1 4