WPUF_Subscription D

Total Complexity 222
Dependencies 1
Dependents 13
Total lines 1,250
Lines of code 778
Logical lines of code 426
Comment lines 281
Methods 43
Properties 1

Methods 43

Method Rating Maintainability Complexity Lines of code
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
45 14 34
save_form_meta()
A
47 12 30
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
subscription_pack_users()
S
55 6 18
register_form()
S
59 5 14
payment_received()
S
59 5 13
insert_free_pack_subscribers()
S
55 4 19
monitor_new_draft_post()
S
57 4 16
get_subscription_meta()
S
52 3 22
get_subscriptions()
S
58 3 15
register_post_type()
S
46 1 42
subscriber_cancel()
S
58 2 16
force_pack_notice()
S
63 3 9
packdropdown()
S
66 3 8
handle_post_publish()
S
65 3 9
set_post_status()
S
61 2 13
__construct()
S
52 1 23
get_all_post_type()
S
58 1 17
reset_trial()
S
65 2 9
get_subscription()
S
67 2 8
change_default_title()
S
68 2 7
init()
S
71 2 6
get_details_meta_value()
S
69 1 6
get_cycle_label()
S
63 1 9
subscription_info()
S
75 1 4
post_by_orderid()
S
65 1 9
get_user_pack()
S
78 1 3
new_subscription()
S
77 1 3
has_user_error()
S
80 1 3
has_used_free_pack()
S
79 1 3
add_free_pack()
S
79 1 3
subscription_script()
S
66 1 8
reset_user_subscription_data()
S
78 1 3
get_payment_status()
S
79 1 3
update_user_subscription_meta()
S
79 1 3