Classes

Coverage Distribution

Complexity

Project Risks

Class Coverage Complexity CRAP
Jetpack_Site3.3%805874
SAL_Post52.3%1552757
SAL_Site62.0%2062527
Abstract_Jetpack_Site1.4%28778
WPCOM_JSON_API_Links63.7%47152
WPCOM_JSON_API_Date34.1%1038
WPCOM_JSON_API_Metadata70.8%1012

Methods

Coverage Distribution

Complexity

Insufficient Coverage

Method Coverage
format_duration0%
__construct0%
__clone0%
__wakeup0%
get_me_link0%
get_media_link0%
get_comment_link0%
get_publicize_connection_link0%
get_publicize_connections_link0%
get_keyring_connection_link0%
get_external_service_link0%
__set0%
__call0%
get_attachment0%
the_password_form0%
get_avatar_url0%
get_media_item_v1_10%
get_id0%
current_user_can_access_post_type0%
get_post_type_object0%
get_post_id_by_name0%
get_post_by_name0%
get_capabilities0%
get_page_on_front0%
get_page_for_posts0%
get_roles0%
get_launch_status0%
get_anchor_podcast0%
get_wpcom_admin_interface0%
before_render0%
wp_memory_limit0%
wp_max_memory_limit0%
after_render0%
after_render_options0%
get_jetpack_modules0%
is_vip0%
featured_images_enabled0%
get_post_formats0%
get_icon0%
is_main_site0%
is_a8c_publication0%
get_mock_option0%
get_constant0%
main_network_site0%
wp_version0%
max_upload_size0%
wp_memory_limit0%
wp_max_memory_limit0%
is_main_network0%
is_multisite0%
is_single_user_site0%
is_version_controlled0%
file_system_write_access0%
current_theme_supports0%
get_theme_support0%
get_connection_active_plugins0%
get_updates0%
has_videopress0%
get_videopress_storage_used0%
upgraded_filetypes_enabled0%
is_mapped_domain0%
get_unmapped_url0%
is_redirect0%
is_following0%
get_site_owner0%
has_wordads0%
get_frame_nonce0%
get_jetpack_frame_nonce0%
is_headstart_fresh0%
allowed_file_types0%
is_private0%
is_coming_soon0%
get_launch_status0%
get_atomic_cloud_site_option0%
get_plan0%
get_subscribers_count0%
get_capabilities0%
get_locale0%
is_jetpack_connection0%
get_jetpack_version0%
get_ak_vp_bundle_enabled0%
get_jetpack_seo_front_page_description0%
get_jetpack_seo_title_formats0%
get_verification_services_codes0%
get_podcasting_archive0%
is_connected_site0%
is_wpforteams_site0%
current_user_can0%
is_fse_active0%
is_fse_eligible0%
is_core_site_editor_enabled0%
get_import_engine0%
get_anchor_podcast0%
get_user_interactions0%
is_deleted0%
is_a4a_client0%
is_wpcom_staging_site0%
get_wpcom_production_blog_id0%
get_wpcom_staging_blog_ids0%
get_wpcom_admin_interface0%
get_zendesk_site_meta0%
is_pending_plan0%
is_global0%
get_endpoint_path_versions14%
get_parent14%
get_publicize_urls17%
get_revisions18%
get_difm_lite_site_options28%
safe_maybe_unserialize33%
get_taxonomy_link40%
get_registered_date40%
get_last_update_date40%
is_difm_lite_in_progress40%
is_gating_business_q140%
get_post_thumbnail44%
user_can_view_post53%
is_post_type_allowed53%
format_date56%
validate_access60%
getInstance66%
get_tags66%
get_title66%
get_url66%
is_a4a_dev_site66%
was_trial66%
was_upgraded_from_trial66%
is_legacy_gating_site66%
get_is_commercial_reasons66%
is_wpcom_flex66%
is_public70%
is_internal_only71%
get_last_segment_of_relative_path75%
get_other_urls75%
get_featured_image75%
get_password75%
is_visible75%
is_publicize_permanently_disabled75%
get_site_goals75%
get_launchpad_checklist_tasks_statuses75%
get_meta76%
get_closest_version_of_endpoint76%
format_taxonomy76%
get_author77%
is_commercial77%
get_post_by_id80%
get_logo80%
get_content83%
is_sharing_enabled83%
get_excerpt87%
get_avatar_url88%

Project Risks

Method Coverage Complexity CRAP
get_media_item_v1_10.0%31992
get_publicize_urls17.4%15141
user_can_view_post53.5%2060
current_user_can_access_post_type0.0%642
get_post_id_by_name0.0%642
get_icon0.0%530
get_closest_version_of_endpoint76.7%2025
get_difm_lite_site_options28.6%724
get_attachment0.0%420
get_avatar_url0.0%420
after_render0.0%420
after_render_options0.0%420
is_main_site0.0%420
get_atomic_cloud_site_option0.0%420
is_fse_active0.0%420
is_fse_eligible0.0%420
get_parent14.3%414
format_date56.0%813
validate_access60.0%812
get_post_formats0.0%312
has_videopress0.0%312
allowed_file_types0.0%312
is_post_type_allowed53.8%711
get_author77.8%99
get_endpoint_path_versions14.3%38
format_taxonomy76.9%88
get_taxonomy_link40.0%47
format_duration0.0%26
__call0.0%26
get_post_thumbnail44.4%46
get_post_by_name0.0%26
get_constant0.0%26
get_connection_active_plugins0.0%26
is_coming_soon0.0%26
is_public70.0%55
is_internal_only71.4%55
get_meta76.5%55
is_commercial77.8%55
get_revisions18.2%24
get_registered_date40.0%34
get_last_update_date40.0%34
is_difm_lite_in_progress40.0%34
is_gating_business_q140.0%34
get_is_commercial_reasons66.7%44
get_tags66.7%33
get_featured_image75.0%33
safe_maybe_unserialize33.3%23
get_avatar_url88.9%33
is_visible75.0%33
getInstance66.7%22
get_last_segment_of_relative_path75.0%22
get_other_urls75.0%22
get_title66.7%22
get_url66.7%22
get_content83.3%22
get_excerpt87.5%22
get_password75.0%22
is_sharing_enabled83.3%22
is_a4a_dev_site66.7%22
was_trial66.7%22
was_upgraded_from_trial66.7%22
get_post_by_id80.0%22
get_logo80.0%22
is_publicize_permanently_disabled75.0%22
get_site_goals75.0%22
is_legacy_gating_site66.7%22
get_launchpad_checklist_tasks_statuses75.0%22
is_wpcom_flex66.7%22