Alg_WC_Checkout_Files_Upload_Main D

Total Complexity 313
Dependencies 0
Dependents 0
Total lines 1,522
Lines of code 1,162
Logical lines of code 608
Comment lines 251
Methods 27
Properties 0

Methods 27

Method Rating Maintainability Complexity Lines of code
process_checkout_files_upload()
D
17
82 219
is_visible()
B
39 22 64
validate_on_checkout()
B
40 20 60
validate_image_dimensions()
B
42 18 45
alg_ajax_file_delete()
B
38 16 74
maybe_get_image()
B
43 17 44
alg_ajax_file_upload()
B
36 14 83
get_the_form()
B
32 12 111
create_file_admin_order_meta_box()
A
37 9 79
add_files_upload_form_to_checkout_frontend_all()
A
48 12 31
maybe_send_admin_notification()
A
43 10 43
language_shortcode()
A
60 12 10
add_files_to_email_attachments()
A
49 10 29
add_files_upload_form_to_thankyou_and_myaccount_page()
A
51 10 24
add_files_to_order_display()
S
50 7 25
__construct()
S
48 6 29
get_file_download_link()
S
53 6 24
validate_file_type()
S
53 6 22
add_files_to_order()
S
48 5 31
get_file_delete_link()
S
57 4 18
get_the_form_part_label()
S
56 4 18
add_file_to_order()
S
51 3 26
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