TC D

Total Complexity 778
Dependencies 16
Dependents 0
Total lines 4,823
Lines of code 3,713
Logical lines of code 1,802
Comment lines 476
Methods 132
Properties 10

Methods 132

Method Rating Maintainability Complexity Lines of code
update_cart()
D
25
45 146
tc_checkout_payment_form()
D
30 41 92
create_order()
D
26
33 144
action_parse_request()
C
31 27 119
tc_show_summary()
C
27
16 212
tc_calculate_individual_ticket_totals()
B
39 24 52
admin_header()
B
30 15 137
load_payment_gateway_addons()
B
39 20 59
generate_pdf_ticket_front()
B
46 19 29
get_cart_currency_and_format()
A
41 14 61
register_custom_posts()
A
25
1 229
tc_events_front_page()
A
50 13 26
tc_default_values()
A
46 11 38
tc_payment_gateway_alternative()
A
48 11 31
__construct()
A
30 4 134
load_cart_scripts()
A
45 10 36
init_vars()
A
53 11 20
add_default_posts_and_metas()
A
33 5 109
cart_payment()
A
49 10 27
admin_debug_notices_message()
A
55 10 19
maybe_set_session_path()
A
48 9 31
add_required_capabilities()
A
52 9 26
save_attendee_info()
A
53 9 20
create_unique_id()
A
53 9 20
get_setting()
A
54 9 20
get_network_setting()
A
54 9 20
handle_gateway_returns()
A
48 8 33
main_navigation_links_fallback()
A
43 6 61
get_current_post_type()
A
59 9 14
add_rewrite_rules()
A
44 7 43
tc_get_ticket_type_instances()
A
45 7 39
change_order_status_ajax()
S
46 6 43
tc_recalculate_order_totals()
S
41 5 57
add_to_cart()
S
51 7 25
change_apikey_event_category()
S
53 7 22
remove_order_session_data()
S
43 4 63
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
maybe_cancel_order()
S
52 6 23
load_ticket_template_elements()
S
54 6 21
save_cart_post_data()
S
54 6 20
main_navigation_links()
S
48 5 33
rrmdir()
S
56 6 17
get_confirmation_slug()
S
56 6 17
get_cart_slug()
S
57 6 16
add_network_admin_menu()
S
46 4 46
activation()
S
58 6 16
tc_order_confirmation_message_content()
S
58 6 15
get_payment_gateway_return_slug()
S
59 6 13
get_process_payment_slug()
S
59 6 13
tc_add_age_check()
S
61 6 11
sales_api()
S
61 6 11
ajax_remove_order_session_data()
S
44 3 53
maybe_make_writtable_tcpdf_directory()
S
54 5 22
get_order()
S
55 5 21
tc_delete_plugins_data()
S
48 4 34
update_cart_widget()
S
46 3 48
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
remove_unnecessary_plugin_menu_items()
S
63 5 10
front_scripts_and_styles()
S
52 3 30
get_license_key()
S
70 5 5
tc_order_status_url()
S
61 5 9
maybe_skip_confirmation_screen()
S
52 3 29
can_use_gateway()
S
52 3 28
get_cart_info_cookie()
S
60 4 12
get_payment_slug()
S
61 4 12
generate_order_id()
S
57 3 16
gateway_is_network_allowed()
S
65 4 8
get_order_slug()
S
65 4 8
get_cart_currency()
S
72 4 4
generate_ticket_preview()
S
68 4 6
start_session()
S
72 4 5
get_ipn_page()
S
65 4 9
get_cart_events()
S
63 3 11
add_notices()
S
71 3 5
cart_has_custom_url()
S
73 3 4
get_cart_page()
S
67 3 8
get_payment_page()
S
67 3 8
get_process_payment_page()
S
67 3 8
get_confirmation_page()
S
67 3 8
get_order_page()
S
67 3 8
get_order_cookie()
S
71 3 5
admin_permalink_message()
S
63 3 9
change_ticket_status()
S
59 2 15
change_event_status()
S
59 2 15
get_cancel_url()
S
66 3 8
check_for_total_paid_fraud()
S
68 3 7
load_this_plugin_first()
S
63 3 10
get_tax_value()
S
73 3 4
non_visible_post_types_404()
S
67 3 8
in_pages_doesnt_require_media()
S
63 3 10
get_cart_event_tickets()
S
63 3 10
remove_order_session_data_only()
S
63 2 14
update_order_status()
S
62 2 12
load_addons()
S
63 2 11
filter_query_vars()
S
54 1 23
set_cart_cookie()
S
55 1 22
set_cart_info_cookie()
S
55 1 22
set_order_cookie()
S
55 1 22
update_cart_cookie()
S
58 1 16
get_events_creators()
S
66 2 9
active_payment_gateways()
S
75 2 4
no_comments_template()
S
69 2 7
get_store_currency()
S
74 2 4
install_notice()
S
71 2 6
is_tc_debug_enabled()
S
79 2 3
ajax_remove_order_session_data_only()
S
74 2 5
admin_dashboard_notification()
S
63 2 10
install_actions()
S
69 2 7
get_front_end_invisible_post_types()
S
62 1 13
update_discount_code_cookie()
S
62 1 12
remove_unnecessary_plugin_menu_items_wp_page_menu_args()
S
68 1 7
tc_cart_errors()
S
74 1 5
order_to_post_id()
S
74 1 4
get_template_details()
S
72 1 6
get_order_payment_status()
S
76 1 4
show_network_page_tab()
S
75 1 4
show_page_tab()
S
75 1 4
gateways_require_53php()
S
79 1 3
cart_checkout_error()
S
69 1 6
plugin_action_link()
S
69 1 6
tc_change_editable_qty()
S
83 1 3