WP_Theme_JSON_Resolver_Gutenberg S

Total Complexity 49
Dependencies 2
Dependents 15
Total lines 396
Lines of code 192
Logical lines of code 110
Comment lines 150
Methods 12
Properties 6

Methods 12

Method Rating Maintainability Complexity Lines of code
get_user_data_from_wp_global_styles()
A
42 10 51
get_theme_data()
A
45 10 42
get_user_data()
S
52 7 25
get_merged_data()
S
62 3 12
read_json_file()
S
64 3 10
translate()
S
67 3 7
get_user_global_styles_post_id()
S
64 3 10
theme_has_support()
S
66 3 9
get_file_path_from_theme()
S
71 3 5
get_core_data()
S
65 2 9
get_fields_to_translate()
S
76 1 4
clean_cached_data()
S
68 1 8