Total Complexity | 66 |
Dependencies | 3 |
Dependents | 0 |
Total lines | 611 |
Lines of code | 230 |
Logical lines of code | 130 |
Comment lines | 279 |
Methods | 25 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_item() | 50 | 8 | 27 | |
oembed_xml_request() | 51 | 8 | 25 | |
filter_embed_url() | 56 | 8 | 16 | |
filter_embed_html() | 53 | 6 | 19 | |
add_oembed_discovery_links() | 57 | 4 | 16 | |
get_oembed_response_data() | 49 | 3 | 30 | |
content_buffer_end() | 60 | 3 | 13 | |
content_buffer_start() | 71 | 3 | 6 | |
setup_template_parts() | 66 | 3 | 8 | |
register_route() | 52 | 1 | 26 | |
__construct() | 68 | 2 | 8 | |
inject_content() | 72 | 2 | 6 | |
get_item_id() | 78 | 2 | 3 | |
set_permalink() | 68 | 2 | 7 | |
content() | 100 | 1 | 0 | |
setup_properties() | 80 | 1 | 3 | |
custom_hooks() | 98 | 1 | 1 | |
set_iframe_title() | 98 | 1 | 1 | |
set_route_args() | 82 | 1 | 3 | |
set_fallback_html() | 100 | 1 | 0 | |
set_oembed_response_data() | 100 | 1 | 0 | |
validate_url_to_item_id() | 100 | 1 | 0 | |
is_page() | 100 | 1 | 0 | |
filter_rest_url() | 79 | 1 | 3 | |
setup_hooks() | 64 | 1 | 9 |