WC_Download_Handler C

Total Complexity 106
Dependencies 3
Dependents 2
Total lines 637
Lines of code 374
Logical lines of code 228
Comment lines 214
Methods 20
Properties 0

Methods 20

Method Rating Maintainability Complexity Lines of code
download_product()
B
37 16 70
get_download_range()
A
45 13 41
readfile_chunked()
A
47 11 38
parse_file_path()
A
46 9 36
download_file_xsendfile()
A
47 8 31
download_file_force()
S
53 6 21
download_headers()
S
49 5 30
check_download_login_required()
S
57 6 14
init()
S
64 4 8
check_order_is_valid()
S
66 4 8
download()
S
59 3 13
get_download_content_type()
S
60 3 12
check_download_expiry()
S
70 3 5
check_downloads_remaining()
S
71 3 5
clean_buffers()
S
64 3 10
ie_nocache_headers_fix()
S
67 3 7
check_server_config()
S
66 2 8
download_error()
S
61 2 10
download_file_redirect()
S
76 1 4
count_download()
S
79 1 3