-
Home
-
Robin image optimizer — save money on image compression
-
1.5.2
-
Code
-
Classes
- WRIO_Media_Library
Total Complexity |
78 |
Dependencies |
12 |
Dependents |
6 |
Total lines |
721 |
Lines of code |
401 |
Logical lines of code |
255 |
Comment lines |
205 |
Methods |
24 |
Properties |
2 |
Methods 24
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
processUnoptimizedImages() |
A |
37 |
13 |
73 |
calculateMediaLibraryParams() |
A |
40 |
11 |
58 |
webpSuccess() |
A |
46 |
8 |
39 |
restoreAllFromBackup() |
A |
46 |
7 |
38 |
deferredOptimizeAttachment() |
S |
54 |
3 |
22 |
optimizeAttachment() |
S |
54 |
3 |
21 |
processDeferredOptimization() |
S |
63 |
3 |
11 |
restoreAttachment() |
S |
57 |
2 |
17 |
getUnoptimizedImages() |
S |
58 |
2 |
16 |
optimize_after_upload() |
S |
65 |
3 |
9 |
attachmentEditorFields() |
S |
60 |
2 |
14 |
initHooks() |
S |
59 |
2 |
13 |
enqueueMeadiaScripts() |
S |
67 |
2 |
7 |
optimizedPercent() |
S |
69 |
2 |
7 |
deleteAttachmentHook() |
S |
71 |
2 |
6 |
getAttachment() |
S |
70 |
2 |
6 |
manageMediaColumn() |
S |
71 |
2 |
6 |
getOptimizedCount() |
S |
69 |
2 |
7 |
get_instance() |
S |
71 |
2 |
6 |
getMediaColumnTemplate() |
S |
72 |
1 |
5 |
getMediaColumnContent() |
S |
76 |
1 |
4 |
optimize_after_retina_2x_add() |
S |
75 |
1 |
4 |
addMediaColumn() |
S |
75 |
1 |
4 |
resetCurrentErrors() |
S |
67 |
1 |
8 |