Newspack_Blocks_API S

Total Complexity 42
Dependencies 5
Dependents 0
Total lines 397
Lines of code 259
Logical lines of code 114
Comment lines 93
Methods 12
Properties 0

Methods 12

Method Rating Maintainability Complexity Lines of code
posts_endpoint()
A
38 11 68
newspack_blocks_get_author_info()
A
48 7 35
newspack_blocks_get_primary_category()
S
55 6 20
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