Gutenberg_REST_Global_Styles_Controller A

Total Complexity 55
Dependencies 6
Dependents 1
Total lines 437
Lines of code 274
Logical lines of code 111
Comment lines 114
Methods 17
Properties 0

Methods 17

Method Rating Maintainability Complexity Lines of code
prepare_item_for_response()
A
43 16 44
prepare_item_for_database()
A
46 14 38
update_item()
S
54 5 20
get_item_schema()
S
45 2 49
register_routes()
S
47 1 44
get_theme_item()
S
56 2 18
get_item()
S
66 3 7
permissions_check()
S
62 2 12
get_available_actions()
S
67 2 8
prepare_links()
S
62 1 12
update_item_permissions_check()
S
80 1 3
get_item_permissions_check()
S
80 1 3
protected_title_format()
S
82 1 3
get_collection_params()
S
82 1 3
_sanitize_global_styles_callback()
S
80 1 3
get_theme_item_permissions_check()
S
80 1 3
__construct()
S
77 1 4