-
Home
-
Robin image optimizer — save money on image compression
-
1.8.4
-
Code
-
Classes
- WIO_Attachment
| Total Complexity |
113 |
| Dependencies |
6 |
| Dependents |
2 |
| Total lines |
1,033 |
| Lines of code |
606 |
| Logical lines of code |
394 |
| Comment lines |
194 |
| Methods |
24 |
| Properties |
6 |
Methods 24
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| optimize() |
B |
29 |
18 |
150 |
| deferredOptimization() |
B |
35 |
15 |
95 |
| optimizeImageSizes() |
A |
40 |
11 |
62 |
| resize() |
A |
43 |
9 |
50 |
| regenerate_metadata() |
A |
48 |
9 |
33 |
| isNeedResize() |
A |
50 |
8 |
30 |
| replaceOriginalFile() |
A |
52 |
8 |
25 |
| remoteDownloadImage() |
S |
47 |
5 |
38 |
| writeLog() |
S |
55 |
5 |
17 |
| reload() |
S |
61 |
2 |
13 |
| __construct() |
S |
66 |
2 |
9 |
| isset_attachment_meta() |
S |
79 |
2 |
3 |
| set_paths() |
S |
67 |
2 |
7 |
| isOptimized() |
S |
69 |
2 |
7 |
| getAllowedSizes() |
S |
67 |
2 |
8 |
| getPath() |
S |
68 |
2 |
8 |
| get() |
S |
72 |
2 |
6 |
| getImageSizeUrl() |
S |
66 |
2 |
8 |
| getImageSizePath() |
S |
66 |
2 |
8 |
| getOptimizationData() |
S |
66 |
1 |
9 |
| getConversionData() |
S |
66 |
1 |
9 |
| getMetaData() |
S |
82 |
1 |
3 |
| backup() |
S |
76 |
1 |
4 |
| restore() |
S |
76 |
1 |
4 |