LaterPay_Module_Purchase B

Total Complexity 100
Dependencies 15
Dependents 1
Total lines 781
Lines of code 529
Logical lines of code 268
Comment lines 153
Methods 14
Properties 0

Methods 14

Method Rating Maintainability Complexity Lines of code
on_purchase_layout()
D
22
42 184
buy_post()
B
36 15 79
purchase_button_position()
S
50 6 29
set_token()
S
52 6 23
check_user_access()
S
54 5 23
on_purchase_button()
S
47 4 36
on_view_purchased_post_as_visitor()
S
62 5 11
on_purchase_overlay_content()
S
55 4 18
modify_post_content()
S
58 4 15
get_subscribed_events()
S
47 1 45
on_purchase_link()
S
52 2 26
on_purchase_link_shortcode()
S
56 2 20
is_purchasable()
S
65 3 10
get_shared_events()
S
66 1 10