Tribe__Tickets__Tickets D

Total Complexity 480
Dependencies 24
Dependents 48
Total lines 4,696
Lines of code 1,843
Logical lines of code 1,079
Comment lines 2,119
Methods 124
Properties 37

Methods 124

Method Rating Maintainability Complexity Lines of code
send_tickets_email_for_attendee()
C
32 21 108
get_ticket_counts()
B
37 20 75
ticket_add()
B
37 19 63
maybe_redirect_to_attendees_registration_screen()
B
38 18 72
get_event_attendees()
A
47 15 33
should_inject_ticket_form_into_post_content()
A
46 14 41
pass_args_to_repository()
A
47 13 37
get_tickets_unavailable_message()
A
43 12 43
maybe_setup_attendee_user_from_email()
A
46 10 38
get_tickets()
A
48 10 34
exclude_past_tickets_from_cost_range()
A
49 10 28
duplicate_ticket()
A
43 8 50
update_capacity()
A
47 8 36
process_attendee_meta()
A
49 8 31
get_event_for_ticket()
A
56 8 17
send_tickets_email_for_attendees()
S
52 7 25
get_attendees_from_modules()
S
54 7 21
add_frontend_stock_data()
S
42 4 62
get_availability_slug_by_collection()
S
53 6 24
get_event_attendees_count()
S
53 6 22
get_all_event_tickets()
S
54 6 19
get_attendee_order_key()
S
57 6 18
get_attendee_object()
S
57 6 18
get_attendee_event_key()
S
57 6 18
get_tickets_ids()
S
56 6 18
get_ticket_prices()
S
59 6 14
get_attendees_by_args()
S
53 5 24
get_active_providers_for_post()
S
55 5 20
get_event_id_from_order_id()
S
55 5 19
update_attendee()
S
55 5 18
load_ticket_object()
S
57 5 17
get_attendee_optout_key()
S
57 5 17
get_asset_localize_data_for_ticket_options()
S
56 5 16
tickets_own_stock()
S
59 5 15
enqueue_frontend_stock_data()
S
51 4 28
get_event_tickets()
S
61 5 11
get_ticket_delete_link()
S
53 4 25
clear_ticket_cache_for_post()
S
54 4 23
get_ticket_provider_instance()
S
58 4 16
create_attendee()
S
58 4 15
ajax_ticket_edit_controls()
S
59 4 15
get_ticket_move_link()
S
58 4 14
checkin()
S
59 4 13
get_attendees_from_module()
S
61 4 12
clone_ticket_to_new_post()
S
52 3 25
get_default_module()
S
57 3 17
get_ticket_move_url()
S
58 3 16
clear_ticket_cache()
S
58 3 16
global_stock_available()
S
64 4 9
save_checkin_details()
S
58 3 14
show_tickets_unavailable_message()
S
59 3 14
get_event_id_from_attendee_id()
S
62 3 12
process_rsvp_counts()
S
61 3 12
get_attendees_by_order_id()
S
61 3 12
get_attendees()
S
63 3 11
get_event_ticket_provider_object()
S
62 3 11
global_stock_mode_selector()
S
61 3 11
getTemplateHierarchy()
S
62 3 11
maybe_add_front_end_tickets_form()
S
66 3 9
get_event_key()
S
64 3 10
maybe_update_attendees_cache()
S
72 3 5
set_tickets_query_args()
S
58 2 15
maybe_show_tickets_unavailable_message()
S
63 3 10
find_matching_event()
S
63 3 10
get_login_url()
S
63 3 10
maybe_format_event_cost()
S
65 3 8
get_ticket_form_hook()
S
62 2 12
uncheckin()
S
61 2 12
get_event_attendees_by_args()
S
64 2 10
post_has_tickets()
S
69 2 7
clear_attendees_cache()
S
66 2 8
front_end_tickets_form_in_content()
S
65 2 10
update_attendee_activity_log()
S
63 2 10
do_not_show_tickets_unavailable_message()
S
71 2 6
purge_attendees_transient()
S
70 2 6
show_tickets_unavailable_message_in_content()
S
65 2 10
record_attendee_user_id()
S
70 2 6
get_event_ticket_provider()
S
69 2 7
get_tickets_in_cart_for_provider()
S
69 2 6
get_attendees_by_user_id()
S
66 2 8
hook()
S
63 2 10
__construct()
S
57 1 14
ajax_ok()
S
75 1 4
generate_security_code()
S
77 1 3
get_currency()
S
79 1 3
ajax_error()
S
75 1 4
edit_global_capacity_level()
S
79 1 3
get_tickets_in_cart()
S
82 1 3
login_required()
S
74 1 4
user_can()
S
74 1 4
__toString()
S
82 1 3
set_messages()
S
63 1 9
is_checkout_page()
S
82 1 3
get_event_reports_link()
S
98 1 1
update_ticket_sent_counter()
S
74 1 4
front_end_tickets_form()
S
98 1 1
get_ticket()
S
82 1 3
delete_ticket()
S
73 1 5
save_ticket()
S
77 1 4
get_attendees_by_id()
S
80 1 3
get_attendees_by_post_id()
S
74 1 4
get_attendees_by_ticket_id()
S
74 1 4
get_attendees_by_product_id()
S
80 1 3
get_attendees_by_attendee_id()
S
74 1 4
get_all_attendees_by_attendee_id()
S
80 1 3
attendee_decreases_inventory()
S
82 1 3
allow_resending_email()
S
78 1 3
do_metabox_capacity_options()
S
98 1 1
get_price_html()
S
82 1 3
generate_tickets_email_content()
S
77 1 3
supports_global_stock()
S
82 1 3
get_instance()
S
95 1 1
get_attendee()
S
82 1 3
get_attendees_array()
S
80 1 3
get_attendees_count()
S
75 1 4
get_attendees_count_by_user()
S
74 1 4
get_event_checkedin_attendees_count()
S
74 1 4
tr_class()
S
79 1 3
global_stock_mode_options()
S
70 1 6
get_asset_localize_data_for_currencies()
S
68 1 7
get_asset_localize_data_for_cart_checkout_urls()
S
64 1 10
get_ticket_reports_link()
S
98 1 1
modules()
S
79 1 3
deactivate()
S
79 1 3