Alg_WC_Checkout_Files_Upload_Main D

Total Complexity 246
Dependencies 0
Dependents 0
Total lines 1,248
Lines of code 941
Logical lines of code 514
Comment lines 217
Methods 25
Properties 0

Methods 25

Method Rating Maintainability Complexity Lines of code
process_checkout_files_upload()
D
27
45 130
is_visible()
B
39 22 64
validate_on_checkout()
B
40 20 53
maybe_get_image()
B
43 17 44
get_the_form()
A
33 11 108
alg_ajax_file_upload()
A
39 13 62
alg_ajax_file_delete()
A
42 11 54
add_files_upload_form_to_checkout_frontend_all()
A
48 12 31
maybe_send_admin_notification()
A
43 10 43
validate_image_dimensions()
A
48 10 31
language_shortcode()
A
60 12 10
add_files_upload_form_to_thankyou_and_myaccount_page()
A
51 10 24
add_files_to_email_attachments()
A
52 9 20
create_file_admin_order_meta_box()
A
41 6 65
add_files_to_order_display()
S
50 7 25
__construct()
S
48 6 29
get_file_download_link()
S
53 6 24
add_files_to_order()
S
48 5 31
add_file_to_order()
S
51 3 26
get_the_form_part_label()
S
58 3 14
get_wc_email_part()
S
62 3 12
enqueue_scripts()
S
54 2 20
add_file_admin_order_meta_box()
S
62 1 13
wrap_in_wc_email_template()
S
71 1 5
add_files_upload_form_to_checkout_frontend()
S
83 1 3