WP_Theme_JSON_Resolver_Gutenberg S

Total Complexity 48
Dependencies 1
Dependents 13
Total lines 515
Lines of code 243
Logical lines of code 122
Comment lines 214
Methods 15
Properties 6

Methods 15

Method Rating Maintainability Complexity Lines of code
get_user_data()
S
52 7 25
translate()
S
49 6 31
get_user_data_from_custom_post_type()
S
46 4 39
extract_paths_to_translate()
S
56 4 20
get_theme_data()
S
55 4 20
read_json_file()
S
57 4 18
translate_theme_json_chunk()
S
64 3 9
get_user_custom_post_type_id()
S
64 3 10
get_file_path_from_theme()
S
71 3 5
register_user_custom_post_type()
S
52 1 26
get_fields_to_translate()
S
68 2 7
get_core_data()
S
65 2 9
get_merged_data()
S
64 2 10
theme_has_support()
S
70 2 6
clean_cached_data()
S
68 1 8