SAL_Site D

Total Complexity 198
Dependencies 10
Dependents 0
Total lines 1,565
Lines of code 517
Logical lines of code 218
Comment lines 827
Methods 135
Properties 2

Methods 135

Method Rating Maintainability Complexity Lines of code
user_can_view_post()
B
42 17 53
validate_access()
S
52 7 25
is_post_type_allowed()
S
56 7 21
get_post_id_by_name()
S
54 6 21
is_commercial()
S
59 5 14
current_user_can_access_post_type()
S
60 5 14
get_is_commercial_reasons()
S
65 4 9
is_visible()
S
61 3 12
is_difm_lite_in_progress()
S
67 3 8
get_last_update_date()
S
66 3 9
get_registered_date()
S
66 3 9
get_logo()
S
61 2 13
get_capabilities()
S
51 1 27
is_domain_only()
S
74 2 4
was_upgraded_from_trial()
S
71 2 6
was_trial()
S
70 2 6
is_publicize_permanently_disabled()
S
69 2 7
get_post_by_id()
S
66 2 8
get_design_type()
S
74 2 4
get_site_goals()
S
74 2 4
get_default_sharing_status()
S
65 2 9
get_launchpad_checklist_tasks_statuses()
S
70 2 7
get_post_by_name()
S
69 2 7
get_image_thumbnail_height()
S
80 1 3
get_image_thumbnail_width()
S
80 1 3
get_image_default_link_type()
S
80 1 3
get_image_thumbnail_crop()
S
80 1 3
get_image_medium_width()
S
80 1 3
get_image_medium_height()
S
80 1 3
get_background_color()
S
80 1 3
get_launchpad_screen()
S
80 1 3
get_login_url()
S
81 1 3
get_header_image()
S
80 1 3
get_theme_slug()
S
80 1 3
get_admin_url()
S
81 1 3
get_image_large_height()
S
80 1 3
get_wpcom_production_blog_id()
S
100 1 0
get_wpcom_staging_blog_ids()
S
100 1 0
get_gmt_offset()
S
80 1 3
can_blaze()
S
80 1 3
get_timezone()
S
80 1 3
get_wpcom_site_setup()
S
80 1 3
get_wpcom_admin_interface()
S
80 1 3
get_image_large_width()
S
80 1 3
get_show_on_front()
S
80 1 3
get_permalink_structure()
S
80 1 3
signup_is_store()
S
80 1 3
get_difm_lite_site_options()
S
80 1 3
get_anchor_podcast()
S
80 1 3
was_created_with_blank_canvas_design()
S
80 1 3
get_selected_features()
S
80 1 3
get_site_source_slug()
S
80 1 3
get_site_creation_flow()
S
80 1 3
get_site_vertical_id()
S
82 1 3
get_site_segment()
S
82 1 3
get_migration_meta()
S
82 1 3
get_launch_status()
S
82 1 3
get_roles()
S
81 1 3
has_pending_automated_transfer()
S
71 1 7
get_default_post_format()
S
80 1 3
get_blog_public()
S
80 1 3
get_wordpress_version()
S
78 1 4
is_headstart()
S
80 1 3
get_page_for_posts()
S
80 1 3
get_page_on_front()
S
80 1 3
is_wpcom_staging_site()
S
100 1 0
get_default_comment_status()
S
79 1 3
get_default_likes_enabled()
S
78 1 3
is_custom_front_page()
S
80 1 3
get_site_intent()
S
79 1 3
get_default_category()
S
80 1 3
default_ping_status()
S
79 1 3
__construct()
S
77 1 4
get_xmlrpc_url()
S
74 1 4
has_wordads()
S
100 1 0
get_jetpack_modules()
S
100 1 0
is_jetpack_connection()
S
100 1 0
is_jetpack()
S
100 1 0
get_locale()
S
100 1 0
get_subscribers_count()
S
100 1 0
is_following()
S
100 1 0
is_coming_soon()
S
100 1 0
is_private()
S
100 1 0
get_post_formats()
S
100 1 0
allowed_file_types()
S
100 1 0
get_jetpack_frame_nonce()
S
100 1 0
get_frame_nonce()
S
100 1 0
featured_images_enabled()
S
100 1 0
is_vip()
S
100 1 0
is_headstart_fresh()
S
100 1 0
is_redirect()
S
100 1 0
get_unmapped_url()
S
100 1 0
is_mapped_domain()
S
100 1 0
upgraded_filetypes_enabled()
S
100 1 0
get_videopress_storage_used()
S
100 1 0
has_videopress()
S
100 1 0
get_blogging_prompts_settings()
S
82 1 3
get_quota()
S
82 1 3
get_post_count()
S
80 1 3
get_url()
S
80 1 3
get_description()
S
78 1 3
get_name()
S
78 1 3
is_module_active()
S
100 1 0
is_multisite()
S
100 1 0
user_can_manage()
S
80 1 3
is_automated_transfer()
S
71 1 7
get_id()
S
82 1 3
get_whitelisted_post_types()
S
72 1 5
get_post_type_object()
S
80 1 3
get_products()
S
82 1 3
is_cloud_eligible()
S
82 1 3
editing_toolkit_is_active()
S
82 1 3
woocommerce_is_active()
S
82 1 3
is_wpcom_store()
S
82 1 3
is_wpcom_atomic()
S
81 1 3
get_p2_thumbnail_elements()
S
82 1 3
get_p2_organization_id()
S
82 1 3
get_p2_hub_blog_id()
S
82 1 3
is_wpforteams_site()
S
100 1 0
get_user_interactions()
S
100 1 0
get_site_owner()
S
100 1 0
is_a8c_publication()
S
100 1 0
wrap_post()
S
100 1 0
after_render_options()
S
100 1 0
after_render()
S
100 1 0
before_render()
S
100 1 0
get_verification_services_codes()
S
100 1 0
get_jetpack_seo_title_formats()
S
100 1 0
get_jetpack_seo_front_page_description()
S
100 1 0
get_import_engine()
S
100 1 0
get_podcasting_archive()
S
100 1 0
get_ak_vp_bundle_enabled()
S
100 1 0
get_plan()
S
100 1 0
is_single_user_site()
S
100 1 0
get_wpcom_classic_early_release()
S
79 1 3