Alg_WC_Checkout_Files_Upload_Main D

Total Complexity 327
Dependencies 0
Dependents 0
Total lines 1,578
Lines of code 1,200
Logical lines of code 630
Comment lines 258
Methods 28
Properties 0

Methods 28

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
38 21 65
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 10 79
add_files_upload_form_to_checkout_frontend_all()
A
48 12 31
uploader_shortcode()
A
48 11 32
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 30
get_file_download_link()
S
53 6 24
validate_file_type()
S
53 6 22
add_files_to_order()
S
48 5 31
get_the_form_part_label()
S
56 4 18
get_file_delete_link()
S
57 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
61 2 13
wrap_in_wc_email_template()
S
71 1 5
add_files_upload_form_to_checkout_frontend()
S
83 1 3