Newspack_Blocks_API S

Total Complexity 40
Dependencies 5
Dependents 0
Total lines 390
Lines of code 253
Logical lines of code 111
Comment lines 90
Methods 12
Properties 0

Methods 12

Method Rating Maintainability Complexity Lines of code
posts_endpoint()
A
38 11 69
newspack_blocks_get_primary_category()
S
54 6 21
newspack_blocks_get_author_info()
S
51 5 27
newspack_blocks_sponsor_info()
S
49 4 32
specific_posts_endpoint()
S
49 4 31
newspack_blocks_get_image_src()
S
48 2 41
newspack_blocks_get_image_caption()
S
77 2 3
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