WPUF_Subscription D

Total Complexity 255
Dependencies 2
Dependents 3
Total lines 1,381
Lines of code 871
Logical lines of code 485
Comment lines 299
Methods 45
Properties 1

Methods 45

Method Rating Maintainability Complexity Lines of code
save_form_meta()
C
38 27 55
force_pack_permission()
C
40 25 59
pack_details()
B
36 23 68
subscription_packs()
A
37 14 72
add_post_info()
A
44 15 41
monitor_new_post()
A
44 15 37
cancel_non_recurring_subscription()
A
43 10 49
subs_redirect_pram()
A
48 11 29
post_redirect()
A
47 10 35
set_pending()
A
55 11 17
after_registration()
A
49 10 28
user_subscription_cancel()
A
52 10 21
monitor_new_draft_post()
A
53 8 20
subscription_pack_users()
S
55 6 18
payment_received()
S
56 6 17
register_form()
S
59 5 14
insert_free_pack_subscribers()
S
55 4 19
get_subscription_meta()
S
51 3 24
get_subscriptions()
S
58 3 15
register_post_type()
S
46 1 42
subscriber_cancel()
S
58 2 16
handle_post_publish()
S
65 3 9
packdropdown()
S
66 3 8
force_pack_notice()
S
63 3 9
set_post_status()
S
61 2 13
__construct()
S
51 1 24
get_all_post_type()
S
58 1 17
handle_non_recur_subs()
S
73 2 5
reset_trial()
S
65 2 9
init()
S
71 2 6
get_subscription()
S
67 2 8
change_default_title()
S
68 2 7
subscription_info()
S
75 1 4
subscription_script()
S
66 1 8
get_payment_status()
S
79 1 3
reset_user_subscription_data()
S
78 1 3
has_user_error()
S
80 1 3
add_free_pack()
S
79 1 3
has_used_free_pack()
S
79 1 3
get_details_meta_value()
S
69 1 6
get_user_pack()
S
78 1 3
new_subscription()
S
77 1 3
update_user_subscription_meta()
S
79 1 3
get_cycle_label()
S
63 1 9
post_by_orderid()
S
65 1 9