-
Home
-
Photo Gallery by 10Web – Mobile-Friendly Image Gallery
-
1.8.35 (latest)
-
Code
-
Classes
- bwg_upl
Total Complexity |
310 |
Dependencies |
4 |
Dependents |
0 |
Total lines |
1,106 |
Lines of code |
899 |
Logical lines of code |
583 |
Comment lines |
84 |
Methods |
50 |
Properties |
2 |
Methods 50
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
post() |
C |
37 |
29 |
55 |
handle_image_file() |
B |
37 |
23 |
62 |
set_file_info() |
B |
39 |
23 |
54 |
handle_file_import() |
B |
34 |
20 |
79 |
handle_file_upload() |
B |
39 |
19 |
56 |
validate() |
B |
43 |
19 |
46 |
__construct() |
A |
37 |
12 |
74 |
handle_directory() |
A |
42 |
13 |
48 |
handle_zip_file() |
A |
43 |
10 |
46 |
generate_response() |
A |
53 |
10 |
19 |
bwg_sanitize_file_data() |
A |
58 |
9 |
14 |
get() |
A |
50 |
8 |
27 |
initialize() |
A |
55 |
8 |
21 |
delete() |
S |
57 |
7 |
16 |
get_full_url() |
S |
69 |
8 |
4 |
get_file_type() |
S |
59 |
6 |
15 |
download() |
S |
51 |
5 |
26 |
get_file_object() |
S |
56 |
5 |
18 |
trim_file_name() |
S |
56 |
5 |
16 |
get_download_url() |
S |
59 |
5 |
13 |
get_unique_filename() |
S |
60 |
5 |
13 |
create_scaled_image() |
S |
58 |
4 |
15 |
get_upload_path() |
S |
67 |
5 |
6 |
get_config_bytes() |
S |
60 |
4 |
14 |
send_content_type_header() |
S |
65 |
3 |
9 |
calc_thumb_resolution() |
S |
64 |
3 |
9 |
mime_decode() |
S |
70 |
3 |
6 |
upcount_name_callback() |
S |
70 |
3 |
5 |
set_file_delete_properties() |
S |
63 |
3 |
10 |
is_valid_file_object() |
S |
68 |
3 |
7 |
get_file_objects() |
S |
68 |
2 |
7 |
fix_integer_overflow() |
S |
70 |
2 |
6 |
sanitize_svg() |
S |
67 |
2 |
8 |
get_user_path() |
S |
71 |
2 |
6 |
get_error_message() |
S |
78 |
2 |
3 |
get_version_param() |
S |
76 |
2 |
3 |
get_file_name_param() |
S |
76 |
2 |
3 |
get_query_separator() |
S |
77 |
2 |
3 |
send_access_control_headers() |
S |
68 |
2 |
6 |
head() |
S |
65 |
2 |
10 |
set_folder_info() |
S |
62 |
1 |
11 |
get_user_id() |
S |
77 |
1 |
4 |
get_file_name() |
S |
77 |
1 |
3 |
get_file_size() |
S |
80 |
1 |
3 |
upcount_name() |
S |
71 |
1 |
6 |
count_file_objects() |
S |
80 |
1 |
3 |
header() |
S |
81 |
1 |
3 |
body() |
S |
82 |
1 |
3 |
readfile() |
S |
80 |
1 |
3 |
handle_form_data() |
S |
91 |
1 |
2 |