Total Complexity | 198 |
Dependencies | 8 |
Dependents | 7 |
Total lines | 1,313 |
Lines of code | 660 |
Logical lines of code | 373 |
Comment lines | 480 |
Methods | 40 |
Properties | 21 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
serve() | 40 | 133 | ||
filter_fields() | 41 | 19 | 55 | |
setup_inputs() | 42 | 19 | 48 | |
output() | 40 | 18 | 57 | |
wp_count_comments() | 40 | 10 | 62 | |
trap_wp_die() | 49 | 11 | 29 | |
is_truthy() | 57 | 7 | 18 | |
is_falsy() | 57 | 7 | 18 | |
wp_die_handler() | 51 | 6 | 26 | |
init_locale() | 55 | 6 | 18 | |
is_jetpack_authorized_for_site() | 58 | 6 | 17 | |
serializable_error() | 55 | 5 | 21 | |
switch_to_blog_and_validate_user() | 62 | 5 | 12 | |
output_early() | 60 | 4 | 13 | |
wrap_http_envelope() | 55 | 3 | 21 | |
get_avatar_url() | 62 | 4 | 10 | |
add() | 62 | 2 | 13 | |
finish_request() | 74 | 2 | 5 | |
init() | 70 | 2 | 6 | |
ensure_http_scheme_of_home_url() | 71 | 2 | 6 | |
comment_edit_pre() | 79 | 1 | 3 | |
__construct() | 79 | 1 | 3 | |
output_trapped_error() | 65 | 1 | 10 | |
initialize() | 75 | 1 | 4 | |
wp_die_handler_callback() | 80 | 1 | 3 | |
is_authorized_with_upload_token() | 82 | 1 | 3 | |
process_request() | 75 | 1 | 4 | |
set_output_status_code() | 81 | 1 | 3 | |
comment_like_count() | 77 | 1 | 4 | |
is_following() | 82 | 1 | 3 | |
add_global_ID() | 82 | 1 | 3 | |
is_reblogged() | 82 | 1 | 3 | |
is_liked() | 82 | 1 | 3 | |
post_like_count() | 82 | 1 | 3 | |
is_restricted_blog() | 74 | 1 | 4 | |
output_error() | 74 | 1 | 4 | |
get_blog_id() | 80 | 1 | 3 | |
get_blog_id_for_output() | 80 | 1 | 3 | |
ends_with() | 78 | 1 | 3 | |
json_encode() | 80 | 1 | 3 |