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