-
Home
-
ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF
-
4.22.6
-
Code
-
Classes
- ShortPixelMetaFacade
Total Complexity |
248 |
Dependencies |
12 |
Dependents |
8 |
Total lines |
1,110 |
Lines of code |
839 |
Logical lines of code |
515 |
Comment lines |
137 |
Methods |
49 |
Properties |
5 |
Methods 49
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
getURLsAndPATHs() |
D |
22 |
49 |
171 |
updateMeta() |
C |
32 |
29 |
100 |
rawMetaToMeta() |
B |
44 |
25 |
32 |
searchUnlistedFiles() |
A |
39 |
13 |
66 |
getWPMLDuplicates() |
A |
44 |
12 |
43 |
isMediaSubfolder() |
A |
54 |
12 |
18 |
attemptRemoteDownload() |
A |
43 |
8 |
49 |
removeSPFoundMeta() |
S |
51 |
7 |
28 |
returnSubDir() |
S |
50 |
7 |
27 |
getWebpSizeMeta() |
S |
50 |
7 |
26 |
cleanupMeta() |
S |
51 |
6 |
26 |
setWaitingProcessing() |
S |
55 |
6 |
19 |
safeGetAttachmentUrl() |
S |
55 |
6 |
18 |
sanitizeMeta() |
S |
60 |
5 |
13 |
getMeta() |
S |
61 |
4 |
12 |
setError() |
S |
57 |
3 |
16 |
incrementRetries() |
S |
63 |
4 |
10 |
getHomeUrl() |
S |
76 |
3 |
3 |
deleteAllSPMeta() |
S |
61 |
2 |
12 |
setMessage() |
S |
62 |
2 |
11 |
returnSubDirOld() |
S |
62 |
2 |
10 |
addRetina() |
S |
65 |
2 |
8 |
replaceHomePath() |
S |
67 |
2 |
7 |
__construct() |
S |
63 |
2 |
10 |
optimizationSucceeded() |
S |
73 |
2 |
5 |
deleteMeta() |
S |
65 |
2 |
9 |
check() |
S |
67 |
2 |
8 |
setRawMeta() |
S |
71 |
2 |
6 |
queuedId() |
S |
77 |
2 |
3 |
getQueuedId() |
S |
79 |
1 |
3 |
getRawMeta() |
S |
83 |
1 |
3 |
setType() |
S |
82 |
1 |
3 |
setId() |
S |
82 |
1 |
3 |
getType() |
S |
83 |
1 |
3 |
getId() |
S |
83 |
1 |
3 |
replacePlusChar() |
S |
79 |
1 |
3 |
stripQueuedIdType() |
S |
78 |
1 |
3 |
isCustomQueuedId() |
S |
78 |
1 |
3 |
getMinMediaId() |
S |
69 |
1 |
6 |
getMaxMediaId() |
S |
69 |
1 |
6 |
filenameToRootRelative() |
S |
78 |
1 |
3 |
pathToRootRelative() |
S |
69 |
1 |
6 |
pathToWebPath() |
S |
78 |
1 |
3 |
isRetina() |
S |
73 |
1 |
4 |
getNewFromRow() |
S |
79 |
1 |
3 |
deleteItemCache() |
S |
70 |
1 |
6 |
getCacheName() |
S |
79 |
1 |
3 |
getHomeUrl2() |
S |
78 |
1 |
3 |
optimizationStarted() |
S |
79 |
1 |
3 |