WP_REST_URL_Details_Controller S

Total Complexity 49
Dependencies 4
Dependents 1
Total lines 576
Lines of code 247
Logical lines of code 111
Comment lines 252
Methods 17
Properties 0

Methods 17

Method Rating Maintainability Complexity Lines of code
get_icon()
A
52 9 22
get_metadata_from_meta_element()
S
54 6 20
parse_url_details()
S
49 5 30
get_document_head()
S
58 4 17
permissions_check()
S
59 4 15
get_item_schema()
S
48 2 40
get_remote_url()
S
54 3 20
get_title()
S
64 4 9
get_description()
S
64 3 10
register_routes()
S
53 1 24
get_image()
S
63 2 10
prepare_metadata_for_output()
S
72 1 5
build_cache_key_for_url()
S
79 1 3
get_cache()
S
80 1 3
set_cache()
S
72 1 5
get_meta_with_content_elements()
S
65 1 10
__construct()
S
77 1 4