WP_Theme_JSON_Resolver_Gutenberg S

Total Complexity 42
Dependencies 2
Dependents 16
Total lines 394
Lines of code 191
Logical lines of code 93
Comment lines 153
Methods 13
Properties 6

Methods 13

Method Rating Maintainability Complexity Lines of code
get_user_data_from_custom_post_type()
A
42 10 51
get_user_data()
S
52 7 25
get_theme_data()
S
56 3 18
read_json_file()
S
64 3 10
translate()
S
67 3 7
get_user_custom_post_type_id()
S
64 3 10
theme_has_support()
S
65 3 9
get_file_path_from_theme()
S
71 3 5
register_user_custom_post_type()
S
52 1 26
get_core_data()
S
65 2 9
get_merged_data()
S
65 2 9
get_fields_to_translate()
S
76 1 4
clean_cached_data()
S
68 1 8