Newspack_Blocks_API S

Total Complexity 40
Dependencies 5
Dependents 0
Total lines 494
Lines of code 337
Logical lines of code 103
Comment lines 108
Methods 15
Properties 0

Methods 15

Method Rating Maintainability Complexity Lines of code
newspack_blocks_get_author_info()
A
48 7 35
register_rest_fields()
S
39 1 106
newspack_blocks_get_primary_category()
S
55 6 20
post_meta_request_params()
S
57 6 17
newspack_blocks_sponsor_info()
S
50 4 31
newspack_blocks_get_image_src()
S
48 2 41
specific_posts_endpoint()
S
51 2 27
register_post_lookup_endpoint()
S
54 2 24
newspack_blocks_get_image_caption()
S
77 2 3
newspack_blocks_post_format()
S
74 2 4
add_post_title_wildcard_search()
S
71 2 5
register_video_playlist_endpoint()
S
62 1 13
newspack_blocks_get_cat_tag_classes()
S
79 1 3
newspack_blocks_has_custom_excerpt()
S
75 1 4
video_playlist_endpoint()
S
74 1 4