Forminator_Upload D

Total Complexity 136
Dependencies 1
Dependents 0
Total lines 1,088
Lines of code 715
Logical lines of code 390
Comment lines 255
Methods 23
Properties 7

Methods 23

Method Rating Maintainability Complexity Lines of code
handle_file_upload()
D
24
33 174
handle_ajax_multifile_upload()
B
35 17 84
markup()
A
36 10 83
move_upload()
A
41 10 54
transfer_upload()
A
42 8 58
handle_submission_multifile_upload()
A
47 8 35
get_validation_rules()
S
52 6 22
set_permissions()
S
57 5 17
get_validation_messages()
S
52 4 24
move_file()
S
60 4 14
validate()
S
59 4 14
check_mime_type()
S
60 4 12
file_mime_type()
S
51 3 26
file_size()
S
61 3 14
byte_to_size()
S
60 3 14
arrange_files()
S
65 3 9
get_additional_file_mime_types()
S
63 3 10
defaults()
S
54 1 22
get_additional_file_types()
S
66 2 8
get_mime_type()
S
65 2 9
add_additional_mime_type_for_validation()
S
75 1 4
autofill_settings()
S
77 1 4
__construct()
S
75 1 4