TC D

Total Complexity 889
Dependencies 17
Dependents 0
Total lines 4,791
Lines of code 4,006
Logical lines of code 1,937
Comment lines 612
Methods 136
Properties 12

Methods 136

Method Rating Maintainability Complexity Lines of code
update_cart()
D
22
57 157
tc_checkout_payment_form()
D
28
42 105
create_order()
D
27
33 136
action_parse_request()
C
31 27 118
tc_calculate_individual_ticket_totals()
C
38 29 55
admin_scripts_styles()
C
26
21 172
tc_show_summary()
C
26
16 216
generate_pdf_ticket_front()
B
41 23 43
load_payment_gateway_addons()
B
39 20 59
cart_payment()
B
40 18 54
get_cart_currency_and_format()
A
41 14 61
add_to_cart()
A
47 16 28
tc_dl_delete_tickets()
A
41 13 56
register_custom_posts()
A
25
1 230
__construct()
A
29
5 150
tc_events_front_page()
A
50 13 26
tc_order_status_url()
A
51 12 23
tc_payment_gateway_alternative()
A
48 11 31
bridge_admin_notice()
A
51 11 25
load_cart_scripts()
A
45 10 37
save_attendee_info()
A
52 11 20
init_vars()
A
53 11 20
add_default_posts_and_metas()
A
33 5 109
add_rewrite_rules()
A
43 9 47
tc_get_ticket_type_instances()
A
43 9 45
admin_debug_notices_message()
A
55 10 19
maybe_set_session_path()
A
48 9 31
change_order_status_ajax()
A
45 8 43
remove_order_session_data()
A
40 6 72
add_required_capabilities()
A
52 9 26
common_scripts_styles()
A
45 8 38
change_apikey_event_category()
A
52 9 22
get_setting()
A
54 9 20
get_network_setting()
A
54 9 20
create_unique_id()
A
53 9 19
main_navigation_links_fallback()
A
43 6 61
get_current_post_type()
A
59 9 14
handle_gateway_returns()
A
50 8 26
ajax_remove_order_session_data()
A
42 5 61
show_cart_menu_handler()
S
50 7 30
tc_recalculate_order_totals()
S
41 5 57
activation()
S
52 7 25
load_ticket_template_elements()
S
52 7 25
update_cart_widget()
S
45 5 50
generate_pdf_ticket()
S
57 7 17
is_wp_debug_enabled()
S
67 8 7
load_tc_addons()
S
59 7 14
add_admin_menu()
S
46 5 42
comments_open()
S
61 7 11
main_navigation_links()
S
47 5 36
save_cart_post_data()
S
53 6 21
maybe_cancel_order()
S
54 6 20
get_confirmation_slug()
S
56 6 17
rrmdir()
S
56 6 17
get_cart_slug()
S
57 6 16
can_use_gateway()
S
50 5 31
add_network_admin_menu()
S
46 4 46
tc_order_confirmation_message_content()
S
58 6 15
maybe_skip_confirmation_screen()
S
52 5 28
get_process_payment_slug()
S
59 6 13
get_payment_gateway_return_slug()
S
59 6 13
tc_default_values()
S
60 6 13
sales_api()
S
61 6 11
maybe_make_writtable_tcpdf_directory()
S
54 5 22
get_order()
S
55 5 21
tc_delete_plugins_data()
S
48 4 34
get_cart_cookie()
S
57 5 17
update_order_payment_status()
S
51 4 31
staff_capabilities()
S
39 1 76
admin_capabilities()
S
39 1 75
localization()
S
61 5 11
checkin_api()
S
61 5 11
in_admin_pages_require_admin_styles()
S
53 4 22
create_pages()
S
44 2 46
change_ticket_status()
S
58 4 15
generate_ticket_preview()
S
68 5 6
change_event_status()
S
58 4 15
remove_unnecessary_plugin_menu_items()
S
63 5 10
get_license_key()
S
70 5 5
get_payment_slug()
S
61 4 12
get_cart_info_cookie()
S
60 4 12
front_scripts_styles()
S
55 3 24
generate_order_id()
S
58 3 16
gateway_is_network_allowed()
S
65 4 8
get_cart_currency()
S
72 4 4
tc_add_age_check()
S
64 4 8
load_addons()
S
59 3 15
get_ipn_page()
S
65 4 9
get_order_slug()
S
65 4 8
get_cart_events()
S
63 3 11
get_cart_page()
S
67 3 8
cart_has_custom_url()
S
73 3 4
get_order_cookie()
S
71 3 5
add_notices()
S
71 3 5
admin_permalink_message()
S
63 3 9
ajax_remove_order_session_data_only()
S
72 3 5
get_payment_page()
S
67 3 8
check_for_total_paid_fraud()
S
68 3 7
get_confirmation_page()
S
67 3 8
get_process_payment_page()
S
67 3 8
non_visible_post_types_404()
S
67 3 8
get_tax_value()
S
73 3 4
load_this_plugin_first()
S
63 3 10
get_cancel_url()
S
66 3 8
in_pages_doesnt_require_media()
S
63 3 10
get_order_page()
S
67 3 8
get_cart_event_tickets()
S
63 3 10
remove_order_session_data_only()
S
64 2 14
update_order_status()
S
62 2 12
filter_query_vars()
S
54 1 23
set_cart_info_cookie()
S
55 1 22
set_order_cookie()
S
55 1 22
set_cart_cookie()
S
55 1 22
admin_dashboard_notification()
S
63 2 10
install_actions()
S
71 2 6
install_notice()
S
71 2 6
no_comments_template()
S
69 2 7
is_tc_debug_enabled()
S
79 2 3
get_store_currency()
S
74 2 4
active_payment_gateways()
S
75 2 4
update_cart_cookie()
S
59 1 15
get_events_creators()
S
66 2 9
get_front_end_invisible_post_types()
S
62 1 13
update_discount_code_cookie()
S
62 1 12
get_template_details()
S
72 1 6
tc_remove_notification_theme()
S
67 1 9
order_to_post_id()
S
74 1 4
remove_unnecessary_plugin_menu_items_wp_page_menu_args()
S
68 1 7
tc_cart_errors()
S
74 1 5
tc_remove_notification()
S
67 1 9
plugin_action_link()
S
71 1 5
gateways_require_53php()
S
79 1 3
show_page_tab()
S
75 1 4
show_network_page_tab()
S
75 1 4
get_order_payment_status()
S
76 1 4
tc_change_editable_qty()
S
83 1 3