-
Home
-
The Events Calendar
-
6.7.0 (latest)
-
Code
-
Classes
- Tribe__Image__Uploader
Total Complexity |
37 |
Dependencies |
2 |
Dependents |
2 |
Total lines |
316 |
Lines of code |
170 |
Logical lines of code |
92 |
Comment lines |
97 |
Methods |
10 |
Properties |
3 |
Methods 10
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
upload_file() |
A |
43 |
10 |
52 |
upload_and_get_attachment_id() |
A |
50 |
8 |
29 |
create_file_name() |
S |
54 |
5 |
21 |
maybe_init_attachment_original_urls_cache() |
S |
56 |
3 |
19 |
get_attachment_ID_from_url() |
S |
61 |
3 |
13 |
maybe_init_attachment_guids_cache() |
S |
60 |
3 |
13 |
maybe_retry_upload() |
S |
60 |
2 |
13 |
__construct() |
S |
81 |
1 |
3 |
reset_cache() |
S |
76 |
1 |
4 |
handle_error() |
S |
80 |
1 |
3 |