-
Home
-
Robin image optimizer — save money on image compression
-
1.7.3
-
Code
-
Classes
- WRIO_Media_Library
Total Complexity |
92 |
Dependencies |
12 |
Dependents |
7 |
Total lines |
891 |
Lines of code |
485 |
Logical lines of code |
299 |
Comment lines |
240 |
Methods |
27 |
Properties |
2 |
Methods 27
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
processUnoptimizedImages() |
A |
37 |
13 |
77 |
calculateMediaLibraryParams() |
A |
40 |
11 |
60 |
webpSuccess() |
A |
45 |
9 |
41 |
restoreAllFromBackup() |
A |
46 |
8 |
40 |
webpUnoptimizedImages() |
S |
46 |
5 |
40 |
optimize_after_upload() |
S |
56 |
6 |
17 |
optimizeAttachment() |
S |
51 |
4 |
27 |
getUnoptimizedImages() |
S |
52 |
3 |
25 |
deferredOptimizeAttachment() |
S |
54 |
3 |
22 |
processDeferredOptimization() |
S |
63 |
3 |
11 |
restoreAttachment() |
S |
56 |
2 |
19 |
attachmentEditorFields() |
S |
60 |
2 |
14 |
initHooks() |
S |
59 |
2 |
13 |
get_instance() |
S |
71 |
2 |
6 |
optimizedPercent() |
S |
69 |
2 |
7 |
deleteAttachmentHook() |
S |
71 |
2 |
6 |
getAttachment() |
S |
70 |
2 |
6 |
getOptimizedCount() |
S |
69 |
2 |
7 |
manageMediaColumn() |
S |
71 |
2 |
6 |
enqueueMeadiaScripts() |
S |
67 |
2 |
7 |
optimize_after_retina_2x_add() |
S |
75 |
1 |
4 |
getUnconvertedImages() |
S |
81 |
1 |
3 |
getMediaColumnContent() |
S |
76 |
1 |
4 |
getMediaColumnTemplate() |
S |
72 |
1 |
5 |
resetCurrentErrors() |
S |
67 |
1 |
8 |
webpConvertAttachment() |
S |
70 |
1 |
6 |
addMediaColumn() |
S |
75 |
1 |
4 |