-
Home
-
WooCommerce
-
8.5.2
-
Code
-
Classes
- WC_Download_Handler
Total Complexity |
113 |
Dependencies |
3 |
Dependents |
2 |
Total lines |
683 |
Lines of code |
394 |
Logical lines of code |
237 |
Comment lines |
236 |
Methods |
21 |
Properties |
0 |
Methods 21
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
download_product() |
B |
35 |
20 |
78 |
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 |
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_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 |
download_file_redirect() |
S |
76 |
1 |
4 |
count_download() |
S |
79 |
1 |
3 |