Jetpack_Memberships C

Total Complexity 109
Dependencies 10
Dependents 5
Total lines 923
Lines of code 468
Logical lines of code 218
Comment lines 320
Methods 35
Properties 14

Methods 35

Method Rating Maintainability Complexity Lines of code
render_button()
A
42 14 48
user_can_view_post()
A
47 11 34
deprecated_render_button_v1()
S
47 5 39
get_all_newsletter_plan_ids()
S
50 5 30
should_render_button_preview()
S
60 6 13
user_is_paid_subscriber()
S
54 5 20
get_post_access_level()
S
56 5 19
get_all_plans()
S
57 4 17
has_configured_plans_jetpack_recurring_payments()
S
58 4 15
get_post_tier()
S
61 4 13
register_gutenberg_block()
S
53 3 27
get_instance()
S
65 4 9
has_connected_account()
S
68 3 7
get_blog_id()
S
70 3 6
should_enable_monetize_blocks_in_editor()
S
67 3 8
get_join_others_text()
S
63 3 9
setup_cpts()
S
50 1 30
init_hook_action()
S
66 3 8
get_plan_property_mapping()
S
54 1 27
render_button_preview()
S
64 2 9
render_button_error()
S
70 2 6
subscriber_logout()
S
72 2 6
user_can_edit()
S
74 2 4
clear_cache()
S
66 2 9
is_enabled_jetpack_recurring_payments()
S
75 2 4
get_subscription_url()
S
61 1 13
get_current_user_email()
S
71 1 5
clear_post_access_level_cache()
S
80 1 3
user_is_pending_subscriber()
S
71 1 5
__construct()
S
98 1 1
return_meta()
S
80 1 3
allow_sync_post_meta()
S
69 1 7
allow_rest_api_types()
S
76 1 4
register_init_hook()
S
72 1 5
is_current_user_subscribed()
S
71 1 5