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 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
posts_endpoint() | 38 | 11 | 69 | |
newspack_blocks_get_primary_category() | 54 | 6 | 21 | |
newspack_blocks_get_author_info() | 51 | 5 | 27 | |
newspack_blocks_sponsor_info() | 49 | 4 | 32 | |
specific_posts_endpoint() | 49 | 4 | 31 | |
newspack_blocks_get_image_src() | 48 | 2 | 41 | |
newspack_blocks_get_image_caption() | 77 | 2 | 3 | |
add_post_title_wildcard_search() | 71 | 2 | 5 | |
register_video_playlist_endpoint() | 62 | 1 | 13 | |
newspack_blocks_get_cat_tag_classes() | 79 | 1 | 3 | |
newspack_blocks_has_custom_excerpt() | 75 | 1 | 4 | |
video_playlist_endpoint() | 74 | 1 | 4 |