WP_Theme_JSON_Resolver_Gutenberg S

Total Complexity 35
Dependencies 1
Dependents 16
Total lines 372
Lines of code 175
Logical lines of code 82
Comment lines 150
Methods 13
Properties 6

Methods 13

Method Rating Maintainability Complexity Lines of code
get_user_data()
S
52 7 25
get_user_data_from_custom_post_type()
S
46 4 39
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
get_file_path_from_theme()
S
71 3 5
register_user_custom_post_type()
S
53 1 25
get_core_data()
S
65 2 9
get_merged_data()
S
65 2 9
theme_has_support()
S
70 2 6
get_fields_to_translate()
S
76 1 4
clean_cached_data()
S
68 1 8