WP_Theme_JSON_Resolver S

Total Complexity 49
Dependencies 1
Dependents 3
Total lines 457
Lines of code 251
Logical lines of code 112
Comment lines 157
Methods 11
Properties 4

Methods 11

Method Rating Maintainability Complexity Lines of code
get_core_origin()
A
39 8 60
translate_presets()
A
50 9 28
get_user_origin()
S
52 7 25
get_origin()
S
55 7 22
get_user_data_from_custom_post_type()
S
50 4 30
get_from_file()
S
57 4 18
theme_json_i18_file_structure_to_preset_paths()
S
57 3 18
get_user_custom_post_type_id()
S
64 3 10
register_user_custom_post_type()
S
53 1 25
get_presets_to_translate()
S
66 2 8
get_theme_origin()
S
68 1 7