WPCOM_JSON_API_Post_Endpoint D

Total Complexity 150
Dependencies 5
Dependents 0
Total lines 753
Lines of code 548
Logical lines of code 345
Comment lines 103
Methods 10
Properties 1

Methods 10

Method Rating Maintainability Complexity Lines of code
get_post_by()
D
4
114 372
win8_gallery_shortcode()
B
36 14 87
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