WC_Download_Handler C

Total Complexity 118
Dependencies 5
Dependents 2
Total lines 764
Lines of code 436
Logical lines of code 250
Comment lines 259
Methods 22
Properties 0

Methods 22

Method Rating Maintainability Complexity Lines of code
download_product()
B
35 19 81
get_download_range()
A
45 13 41
readfile_chunked()
A
47 11 38
parse_file_path()
A
46 9 37
download_file_xsendfile()
A
47 8 31
track_download()
S
47 6 38
download_file_force()
S
53 6 21
download_headers()
S
49 5 30
check_download_login_required()
S
57 6 14
check_order_is_valid()
S
66 4 8
init()
S
62 4 9
download_error()
S
58 3 14
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
get_content_disposition()
S
69 2 7
count_download()
S
79 1 3
download_file_redirect()
S
76 1 4