-
Home
-
WP Compress – Instant Performance & Speed Optimization
-
6.50.53
-
Code
-
Classes
- wps_local_compress
Total Complexity |
324 |
Dependencies |
8 |
Dependents |
2 |
Total lines |
2,115 |
Lines of code |
1,392 |
Logical lines of code |
1,021 |
Comment lines |
215 |
Methods |
38 |
Properties |
15 |
Methods 38
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
restoreV4() |
D |
26 |
30 |
156 |
restore() |
C |
27 |
26 |
152 |
__construct() |
C |
32 |
28 |
88 |
downloadImages() |
C |
30 |
22 |
120 |
wpc_handle_fetch_image() |
B |
38 |
22 |
58 |
restoreImage() |
B |
34 |
18 |
91 |
generate_webp() |
B |
34 |
18 |
83 |
compress_image() |
B |
37 |
17 |
68 |
generate_retina() |
B |
37 |
16 |
70 |
regenerate_thumbnails() |
A |
43 |
11 |
50 |
olderBackup() |
A |
44 |
11 |
43 |
fetchImages() |
A |
45 |
11 |
40 |
backup_image() |
A |
44 |
10 |
43 |
singleCompressV4() |
A |
47 |
7 |
34 |
singleCompressV3() |
A |
46 |
7 |
33 |
wpc_permission_api_key() |
S |
56 |
7 |
17 |
getAllThumbSizes() |
S |
55 |
6 |
18 |
backup_exists() |
S |
57 |
6 |
17 |
get_filesystem() |
S |
59 |
5 |
14 |
initBulk() |
S |
53 |
4 |
22 |
geoLocate() |
S |
53 |
4 |
21 |
on_delete() |
S |
63 |
5 |
10 |
debug_msg() |
S |
63 |
4 |
10 |
registerEndpoints() |
S |
51 |
2 |
29 |
on_upload() |
S |
60 |
3 |
14 |
wpc_get_expected_api_key() |
S |
64 |
3 |
9 |
checkAPIKey() |
S |
63 |
3 |
10 |
is_already_compressed() |
S |
66 |
3 |
8 |
getImagesToRestore() |
S |
59 |
2 |
12 |
getAllImageIDs() |
S |
59 |
2 |
12 |
is_supported() |
S |
65 |
2 |
9 |
create_backup_directory() |
S |
73 |
2 |
5 |
writeLog() |
S |
71 |
2 |
5 |
routes() |
S |
73 |
1 |
6 |
raiseLimits() |
S |
76 |
1 |
4 |
disable_scaling() |
S |
82 |
1 |
3 |
restartCompressWorker() |
S |
72 |
1 |
4 |
restartRestoreWorker() |
S |
72 |
1 |
4 |