Jetpack_Memberships C

Total Complexity 101
Dependencies 9
Dependents 3
Total lines 833
Lines of code 424
Logical lines of code 190
Comment lines 292
Methods 31
Properties 13

Methods 31

Method Rating Maintainability Complexity Lines of code
user_can_view_post()
A
44 16 42
render_button()
A
42 14 47
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
get_all_plans()
S
57 4 17
has_configured_plans_jetpack_recurring_payments()
S
58 4 15
get_instance()
S
64 5 9
get_post_tier()
S
61 4 13
get_post_access_level()
S
61 4 13
register_gutenberg_block()
S
53 3 27
has_connected_account()
S
68 3 7
get_blog_id()
S
70 3 6
setup_cpts()
S
50 1 30
get_join_others_text()
S
63 3 9
is_enabled_jetpack_recurring_payments()
S
74 3 4
get_plan_property_mapping()
S
55 1 24
render_button_preview()
S
64 2 9
render_button_error()
S
70 2 6
user_can_edit()
S
74 2 4
get_subscription_url()
S
61 1 13
get_current_user_email()
S
71 1 5
__construct()
S
98 1 1
user_is_pending_subscriber()
S
71 1 5
user_is_paid_subscriber()
S
65 1 8
return_meta()
S
80 1 3
allow_sync_post_meta()
S
69 1 7
allow_rest_api_types()
S
76 1 4
init_hook_action()
S
72 1 5
register_init_hook()
S
75 1 4
is_current_user_subscribed()
S
71 1 5