WP_Theme_JSON_Resolver_Gutenberg S

Total Complexity 46
Dependencies 1
Dependents 11
Total lines 512
Lines of code 239
Logical lines of code 118
Comment lines 218
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
read_json_file()
S
57 4 18
get_theme_data()
S
60 3 13
translate_theme_json_chunk()
S
64 3 9
get_user_custom_post_type_id()
S
64 3 10
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
get_file_path_from_theme()
S
67 2 8
clean_cached_data()
S
68 1 8