WP_Theme_JSON_Resolver S

Total Complexity 48
Dependencies 1
Dependents 3
Total lines 423
Lines of code 247
Logical lines of code 109
Comment lines 131
Methods 11
Properties 4

Methods 11

Method Rating Maintainability Complexity Lines of code
get_core_origin()
A
40 8 59
translate_presets()
A
52 8 25
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