WC_Download_Handler C

Total Complexity 105
Dependencies 3
Dependents 1
Total lines 613
Lines of code 357
Logical lines of code 221
Comment lines 207
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 35
download_file_xsendfile()
A
50 8 25
download_headers()
S
49 5 30
check_download_login_required()
S
57 6 14
download_file_force()
S
57 5 15
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
68 2 6
download_file_redirect()
S
76 1 4
count_download()
S
79 1 3