TC D

Total Complexity 837
Dependencies 16
Dependents 0
Total lines 5,069
Lines of code 3,838
Logical lines of code 1,867
Comment lines 567
Methods 132
Properties 10

Methods 132

Method Rating Maintainability Complexity Lines of code
update_cart()
D
23
54 152
tc_checkout_payment_form()
D
29 41 97
create_order()
D
26
33 140
action_parse_request()
C
31 27 119
tc_calculate_individual_ticket_totals()
C
38 27 53
tc_show_summary()
C
26
16 216
admin_scripts_styles()
B
29
17 157
load_payment_gateway_addons()
B
39 20 59
generate_pdf_ticket_front()
B
41 19 47
get_cart_currency_and_format()
A
41 14 61
add_to_cart()
A
47 16 28
register_custom_posts()
A
25
1 229
tc_events_front_page()
A
50 13 26
tc_order_status_url()
A
51 12 23
tc_default_values()
A
46 11 38
cart_payment()
A
47 11 33
__construct()
A
30 4 137
tc_payment_gateway_alternative()
A
48 11 31
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
add_required_capabilities()
A
52 9 26
common_scripts_styles()
A
45 8 38
change_apikey_event_category()
A
52 9 22
get_network_setting()
A
54 9 20
get_setting()
A
54 9 20
create_unique_id()
A
53 9 20
main_navigation_links_fallback()
A
43 6 61
get_current_post_type()
A
59 9 14
handle_gateway_returns()
A
50 8 26
remove_order_session_data()
A
42 5 65
tc_recalculate_order_totals()
S
41 5 57
activation()
S
51 7 26
ajax_remove_order_session_data()
S
43 5 56
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
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
get_confirmation_slug()
S
56 6 17
rrmdir()
S
56 6 17
add_network_admin_menu()
S
46 4 46
get_cart_slug()
S
57 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
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
checkin_api()
S
61 5 11
localization()
S
61 5 11
in_admin_pages_require_admin_styles()
S
53 4 22
create_pages()
S
44 2 46
get_license_key()
S
70 5 5
change_event_status()
S
58 4 15
remove_unnecessary_plugin_menu_items()
S
63 5 10
change_ticket_status()
S
58 4 15
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
front_scripts_styles()
S
55 3 24
generate_order_id()
S
57 3 16
get_order_slug()
S
65 4 8
get_cart_currency()
S
72 4 4
start_session()
S
72 4 5
ajax_remove_order_session_data_only()
S
66 4 8
generate_ticket_preview()
S
68 4 6
get_ipn_page()
S
65 4 9
load_addons()
S
59 3 15
gateway_is_network_allowed()
S
65 4 8
tc_add_age_check()
S
64 4 8
get_cart_events()
S
63 3 11
get_order_page()
S
67 3 8
get_process_payment_page()
S
67 3 8
get_order_cookie()
S
71 3 5
get_confirmation_page()
S
67 3 8
cart_has_custom_url()
S
73 3 4
get_cancel_url()
S
66 3 8
get_cart_page()
S
67 3 8
in_pages_doesnt_require_media()
S
63 3 10
get_payment_page()
S
67 3 8
non_visible_post_types_404()
S
67 3 8
add_notices()
S
71 3 5
check_for_total_paid_fraud()
S
68 3 7
admin_permalink_message()
S
63 3 9
get_cart_event_tickets()
S
63 3 10
get_tax_value()
S
73 3 4
load_this_plugin_first()
S
63 3 10
remove_order_session_data_only()
S
64 2 13
update_order_status()
S
62 2 12
filter_query_vars()
S
54 1 23
set_cart_info_cookie()
S
55 1 22
set_cart_cookie()
S
55 1 22
set_order_cookie()
S
55 1 22
update_cart_cookie()
S
58 1 16
install_notice()
S
71 2 6
install_actions()
S
69 2 7
no_comments_template()
S
69 2 7
get_events_creators()
S
66 2 9
admin_dashboard_notification()
S
63 2 10
is_tc_debug_enabled()
S
79 2 3
active_payment_gateways()
S
75 2 4
get_store_currency()
S
74 2 4
get_front_end_invisible_post_types()
S
62 1 13
update_discount_code_cookie()
S
62 1 12
order_to_post_id()
S
74 1 4
plugin_action_link()
S
71 1 5
remove_unnecessary_plugin_menu_items_wp_page_menu_args()
S
68 1 7
gateways_require_53php()
S
79 1 3
get_template_details()
S
72 1 6
get_order_payment_status()
S
76 1 4
show_network_page_tab()
S
75 1 4
tc_cart_errors()
S
74 1 5
show_page_tab()
S
75 1 4
tc_change_editable_qty()
S
83 1 3