WPCOM_JSON_API_Post_Endpoint D

Total Complexity 134
Dependencies 5
Dependents 0
Total lines 642
Lines of code 457
Logical lines of code 311
Comment lines 90
Methods 9
Properties 1

Methods 9

Method Rating Maintainability Complexity Lines of code
get_post_by()
D
5
112 368
get_post_id_by_name()
S
53 6 23
get_attachment()
S
58 4 15
__construct()
S
65 4 9
get_blog_post()
S
64 3 10
get_the_post_content_for_display()
S
59 1 15
find_featured_media()
S
69 2 7
the_password_form()
S
79 1 3
get_current_user_capabilities()
S
69 1 7