WCJ_Checkout_Files_Upload D

Total Complexity 255
Dependencies 2
Dependents 0
Total lines 1,206
Lines of code 949
Logical lines of code 492
Comment lines 210
Methods 21
Properties 3

Methods 21

Method Rating Maintainability Complexity Lines of code
process_checkout_files_upload()
D
12
83 295
is_visible()
D
27
45 143
validate_on_checkout()
A
42 14 50
add_files_to_order_display()
A
40 11 62
maybe_get_image()
A
51 13 21
add_files_to_order()
A
44 11 40
add_files_upload_form_to_thankyou_and_myaccount_page()
A
51 11 24
create_file_admin_order_meta_box_hpos()
A
45 8 39
add_files_upload_form_to_checkout_frontend_all()
A
53 9 20
get_the_form()
A
40 6 61
__construct()
A
46 7 36
remove_files_on_empty_cart()
A
53 8 20
add_files_to_email_attachments()
A
54 8 19
create_file_admin_order_meta_box()
S
48 5 32
is_extension_blocked()
S
58 4 15
get_order_full_file_name()
S
65 4 8
add_file_admin_order_meta_box()
S
52 2 27
add_notice()
S
68 3 7
init_settings()
S
53 1 24
add_files_upload_form_to_checkout_frontend()
S
82 1 3
wcj_customize_get_return_url()
S
78 1 3