wps_ic_preload_warmup D

Total Complexity 401
Dependencies 6
Dependents 4
Total lines 1,734
Lines of code 1,275
Logical lines of code 876
Comment lines 92
Methods 41
Properties 3

Methods 41

Method Rating Maintainability Complexity Lines of code
getPagesToOptimize()
D
33 38 79
getPagesForFiltering()
D
33 37 73
isOptimized()
D
36 36 64
getOptimizationsStatus()
D
32 34 88
getPages()
D
34 32 77
doTestLCP()
B
37 19 66
connectivityTest()
B
36 15 85
getApiUrl()
A
46 16 34
saveCacheLocal()
A
46 15 35
cacheLocally()
A
44 13 46
simpleConnectivityTest()
A
42 12 48
optimizeSingle()
A
40 11 56
doTest()
A
44 10 42
isWarmupFailing()
A
50 10 28
updateStatus()
A
46 9 38
getPagesJSON()
A
48 8 31
downloadMobileCrit()
S
47 6 37
downloadDesktopCrit()
S
47 6 37
search_filter_by_title_only()
S
53 7 20
optimizeSingleQuick()
S
47 6 34
startOptimizations()
S
50 6 26
deliverError()
S
50 5 31
getWarmupLog()
S
54 5 22
get_filesystem()
S
59 5 14
get_optimization_status()
S
60 5 12
geoLocate()
S
53 4 21
doTestRemote()
S
53 4 20
addError()
S
57 4 18
stopOptimizations()
S
55 4 18
isRedirected()
S
60 4 12
isFeatureEnabled()
S
68 3 7
localCacheWarmup()
S
60 1 16
scheduleCronWarmup()
S
69 2 7
setupCronPreload()
S
69 2 6
__construct()
S
68 1 7
startOptimizationsCron()
S
82 1 3
resetTest()
S
74 1 3
writeLog()
S
77 1 3
fetchPostInfo()
S
76 1 3
preloadPage()
S
74 1 3
saveGzCacheLocal()
S
71 1 5