-
Home
-
reSmush.it : The original free image compressor and optimizer plugin
-
1.0.4 (latest)
-
Code
-
Classes
- reSmushit
Total Complexity |
64 |
Dependencies |
6 |
Dependents |
2 |
Total lines |
550 |
Lines of code |
336 |
Logical lines of code |
201 |
Comment lines |
137 |
Methods |
19 |
Properties |
0 |
Methods 19
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
optimize() |
A |
37 |
14 |
69 |
getNonOptimizedPictures() |
A |
42 |
6 |
57 |
getStatistics() |
A |
43 |
6 |
49 |
wasSuccessfullyUpdated() |
S |
56 |
5 |
18 |
getCountNonOptimizedPictures() |
S |
63 |
5 |
9 |
revert() |
S |
51 |
3 |
26 |
getCountAllPictures() |
S |
55 |
3 |
19 |
getPictureQualitySetting() |
S |
64 |
3 |
10 |
isImageOptimized() |
S |
66 |
3 |
8 |
deleteOriginalFile() |
S |
65 |
2 |
8 |
updateDisabledState() |
S |
65 |
2 |
9 |
getDisabledState() |
S |
73 |
2 |
5 |
glob_recursive() |
S |
65 |
2 |
8 |
resmushit_get_image_id() |
S |
63 |
2 |
10 |
getAttachmentQuality() |
S |
69 |
2 |
6 |
hasAlreadyRunOnce() |
S |
61 |
1 |
12 |
hasBackup() |
S |
69 |
1 |
6 |
detect_unsmushed_files() |
S |
74 |
1 |
4 |
authorizedExtensions() |
S |
78 |
1 |
3 |