Tribe__Tickets__Commerce__PayPal__Main D

Total Complexity 280
Dependencies 21
Dependents 5
Total lines 3,144
Lines of code 1,419
Logical lines of code 828
Comment lines 1,190
Methods 71
Properties 20

Methods 71

Method Rating Maintainability Complexity Lines of code
generate_tickets()
D
21
45 188
save_ticket()
D
27
30 141
get_attendee()
A
39 10 60
do_metabox_capacity_options()
A
48 9 32
commerce_get_tickets_in_cart()
A
45 8 42
commerce_update_tickets_in_cart()
A
46 8 37
update_attendee_data()
A
51 8 28
attendee_decreases_inventory()
A
48 7 32
delete_ticket()
S
51 7 26
get_ticket()
S
45 5 41
get_attendees_by_id()
S
55 6 22
maybe_delete_expired_products()
S
55 6 21
add_ticket_to_cart()
S
55 6 19
send_tickets_email()
S
54 5 23
get_tickets_in_cart()
S
56 5 19
get_orders_by_post_id()
S
48 4 34
get_attendees_by_order_id()
S
54 4 24
updated_messages()
S
47 3 37
do_metabox_sku_options()
S
57 4 16
front_end_tickets_form()
S
60 4 13
maybe_send_tickets_after_status_change()
S
61 4 12
get_cart_url()
S
62 4 11
deprioritize_module()
S
63 4 11
hooks()
S
46 2 38
get_qty_pending()
S
54 3 22
bind_implementations()
S
48 2 32
get_post_id_from_order()
S
58 3 17
register_types()
S
46 1 46
get_event_reports_link()
S
58 3 15
get_price_html()
S
59 3 14
enqueue_resources()
S
63 3 11
is_active()
S
62 3 11
get_order_data()
S
53 2 25
register_resources()
S
49 1 38
__construct()
S
56 2 18
decrease_ticket_sales_by()
S
64 3 9
maybe_redirect_to_attendees_report()
S
58 2 15
increase_ticket_sales_by()
S
65 3 8
get_price_value()
S
65 3 9
get_cancelled()
S
59 2 14
tribe_attendee_registration_cart_provider()
S
62 2 12
get_ticket_reports_link()
S
61 2 12
update_stock_after_deletion()
S
67 2 8
do_metabox_advanced_options()
S
64 2 9
get_key()
S
58 1 15
get_current_cart_transient()
S
65 2 9
update_global_stock()
S
66 2 9
attendance_totals()
S
72 2 6
get_checkout_url()
S
68 2 7
is_checkout_page()
S
68 2 7
maybe_redirect_to_attendees_registration_screen()
S
65 2 9
get_order_statuses()
S
64 2 9
redirect_after_error()
S
68 2 7
send_tickets_email_for_attendees()
S
61 1 12
setup_attendance_totals()
S
82 1 3
ignore_pending_stock_logic()
S
80 1 3
init()
S
82 1 3
login_required()
S
74 1 4
tribe_attendee_registration_form_class()
S
76 1 4
get_transaction_url()
S
80 1 3
supports_global_stock()
S
79 1 3
get_messages()
S
81 1 3
add_message()
S
73 1 4
set_tickets_view()
S
81 1 3
filter_event_tickets_attendees_tpp_checkin_stati()
S
76 1 4
commerce_get_cart_url()
S
80 1 3
commerce_get_checkout_url()
S
80 1 3
add_cart_url()
S
75 1 4
is_paypal_ticket()
S
80 1 3
add_checkout_url()
S
75 1 4
get_instance()
S
80 1 3