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