Jetpack_Memberships C

Total Complexity 107
Dependencies 9
Dependents 3
Total lines 892
Lines of code 456
Logical lines of code 210
Comment lines 312
Methods 34
Properties 14

Methods 34

Method Rating Maintainability Complexity Lines of code
render_button()
A
42 14 47
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
get_instance()
S
64 5 9
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_blog_id()
S
70 3 6
has_connected_account()
S
68 3 7
is_enabled_jetpack_recurring_payments()
S
74 3 4
setup_cpts()
S
50 1 30
get_join_others_text()
S
63 3 9
init_hook_action()
S
66 3 8
get_plan_property_mapping()
S
54 1 27
render_button_error()
S
70 2 6
user_can_edit()
S
74 2 4
clear_cache()
S
66 2 9
render_button_preview()
S
64 2 9
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
subscriber_logout()
S
82 1 3
register_init_hook()
S
72 1 5
is_current_user_subscribed()
S
71 1 5