-
Home
-
WP Compress – Instant Performance & Speed Optimization
-
6.30.30
-
Code
-
Classes
- wps_local_compress
| Total Complexity |
222 |
| Dependencies |
3 |
| Dependents |
3 |
| Total lines |
1,435 |
| Lines of code |
1,004 |
| Logical lines of code |
706 |
| Comment lines |
100 |
| Methods |
26 |
| Properties |
15 |
Methods 26
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| restore() |
C |
27 |
26 |
152 |
| __construct() |
C |
32 |
28 |
88 |
| restoreV4() |
B |
30 |
19 |
117 |
| 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 |
| backup_image() |
A |
44 |
10 |
43 |
| singleCompressV4() |
A |
45 |
9 |
38 |
| singleCompressV3() |
A |
44 |
7 |
44 |
| on_upload_gutenber() |
S |
44 |
5 |
41 |
| getAllThumbSizes() |
S |
55 |
6 |
19 |
| backup_exists() |
S |
57 |
6 |
17 |
| get_filesystem() |
S |
59 |
5 |
14 |
| geoLocate() |
S |
53 |
4 |
21 |
| on_delete() |
S |
63 |
5 |
10 |
| on_upload() |
S |
57 |
3 |
16 |
| debug_msg() |
S |
63 |
4 |
10 |
| is_already_compressed() |
S |
66 |
3 |
8 |
| is_supported() |
S |
65 |
2 |
9 |
| create_backup_directory() |
S |
73 |
2 |
5 |
| writeLog() |
S |
71 |
2 |
5 |
| restartCompressWorker() |
S |
59 |
1 |
15 |
| restartRestoreWorker() |
S |
59 |
1 |
15 |
| disable_scaling() |
S |
82 |
1 |
3 |