Tribe__Tickets__Commerce__PayPal__Main D

Total Complexity 284
Dependencies 22
Dependents 6
Total lines 3,220
Lines of code 1,459
Logical lines of code 840
Comment lines 1,214
Methods 72
Properties 20

Methods 72

Method Rating Maintainability Complexity Lines of code
generate_tickets()
D
21
45 188
save_ticket()
D
27
30 147
get_attendee()
A
39 10 60
get_ticket()
A
42 8 48
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_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
hooks()
S
42 2 57
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
deprioritize_module()
S
63 4 11
get_cart_url()
S
62 4 11
get_qty_pending()
S
54 3 22
get_post_id_from_order()
S
58 3 17
bind_implementations()
S
48 2 32
register_types()
S
46 1 46
get_event_reports_link()
S
58 3 15
get_price_html()
S
59 3 14
is_active()
S
62 3 11
enqueue_resources()
S
63 3 11
get_order_data()
S
53 2 25
register_resources()
S
49 1 38
__construct()
S
55 2 19
maybe_redirect_to_attendees_report()
S
58 2 15
get_price_value()
S
65 3 9
decrease_ticket_sales_by()
S
64 3 9
increase_ticket_sales_by()
S
65 3 8
get_cancelled()
S
59 2 14
tribe_attendee_registration_cart_provider()
S
62 2 12
get_ticket_reports_link()
S
61 2 12
is_checkout_page()
S
68 2 7
maybe_redirect_to_attendees_registration_screen()
S
65 2 9
get_current_cart_transient()
S
65 2 9
redirect_after_error()
S
68 2 7
get_order_statuses()
S
64 2 9
get_key()
S
58 1 15
update_stock_after_deletion()
S
67 2 8
update_global_stock()
S
66 2 9
get_checkout_url()
S
68 2 7
do_metabox_advanced_options()
S
64 2 9
attendance_totals()
S
69 2 7
send_tickets_email_for_attendees()
S
61 1 12
ignore_pending_stock_logic()
S
80 1 3
tribe_attendee_registration_form_class()
S
76 1 4
get_instance()
S
80 1 3
commerce_get_cart_url()
S
80 1 3
supports_global_stock()
S
79 1 3
is_paypal_ticket()
S
80 1 3
get_transaction_url()
S
80 1 3
add_checkout_url()
S
75 1 4
add_cart_url()
S
75 1 4
commerce_get_checkout_url()
S
80 1 3
filter_event_tickets_attendees_tpp_checkin_stati()
S
76 1 4
set_tickets_view()
S
81 1 3
add_message()
S
73 1 4
get_messages()
S
81 1 3
login_required()
S
74 1 4
setup_attendance_totals()
S
81 1 3
init()
S
82 1 3
filter_cache_listener_save_post_types()
S
71 1 6