wps_rewriteLogic D

Total Complexity 585
Dependencies 3
Dependents 1
Total lines 2,492
Lines of code 1,729
Logical lines of code 1,125
Comment lines 167
Methods 74
Properties 50

Methods 74

Method Rating Maintainability Complexity Lines of code
replaceImageTagsDo()
D
0
157 377
setupApiParams()
C
33 29 87
cssLinkLazy()
C
35 26 82
__construct()
B
38 20 62
getAllTags()
B
39 19 66
isImage()
B
49 21 27
cdnExternalUrls()
B
42 17 50
isExcluded()
A
44 16 41
imageTagAsset()
A
43 15 47
addCriticalCSS()
A
42 15 45
cdnAllLinks()
A
45 15 42
replaceImageTagsDoSlash()
A
43 13 44
reformatUrl()
A
46 12 35
replaceSourceSrcset()
A
50 12 27
ajaxImage()
A
46 11 37
rewriteSrcset()
A
44 10 45
isExcludedLink()
A
53 10 23
replaceBackgroundImage()
A
48 9 32
cssStyleLazy()
A
50 9 27
replaceBackgroundImageStyles()
A
49 8 32
replaceBackgroundImageStylesLocal()
A
49 8 30
perfMatters()
A
57 8 16
addCriticalAjax()
S
44 4 62
imageUrlMatchingSiteUrl()
S
56 6 17
isExcludedFrom()
S
59 6 13
getPictureTags()
S
54 5 21
isMobile()
S
56 5 17
replaceFonts()
S
62 6 10
defferFontAwesome()
S
58 5 14
setupSiteUrl()
S
56 4 18
replaceBackgroundDataSetting()
S
55 4 18
scriptContentTag()
S
62 5 10
iframeDecode()
S
63 5 10
revSlider_Replace_DataThumb()
S
58 4 14
getCurrentMaxWidth()
S
63 4 12
runMissingSettings()
S
63 4 9
removeEmoji()
S
59 3 13
is_home_url()
S
67 3 6
get_image_size()
S
66 3 8
iframeEncode()
S
66 3 7
isPerfMattersLazyActive()
S
65 3 9
defaultExcluded()
S
66 3 8
revSliderActive()
S
71 2 6
checkFavIcon()
S
69 2 7
specialChars()
S
71 2 6
disable_emojicons_tinymce()
S
69 2 7
setupExcludes()
S
62 2 10
addCritical()
S
66 2 8
Brizy()
S
67 2 8
maybe_addslashes()
S
72 2 6
revSliderReplace()
S
75 1 4
replacePictureTags()
S
75 1 4
replaceImageTags()
S
75 1 4
lazyCSS()
S
72 1 5
allLinks()
S
75 1 4
checkIsSlashed()
S
75 1 4
replaceSourceTags()
S
74 1 4
fonts()
S
75 1 4
externalUrls()
S
75 1 4
backgroundSizing()
S
72 1 5
replaceBackgroundImagesInCSSLocal()
S
72 1 5
replaceBackgroundImagesInCSS()
S
72 1 5
cssToFooter()
S
75 1 4
defferAssets()
S
82 1 3
lazyWpFonts()
S
73 1 5
favIcon()
S
75 1 4
setMobile()
S
74 1 5
runCriticalAjax()
S
75 1 4
scriptContent()
S
75 1 4
optimizeGoogleFonts()
S
72 1 5
decodeIframe()
S
75 1 4
encodeIframe()
S
75 1 4
cssToFooterRender()
S
80 1 3
optimizeGoogleFontsRewrite()
S
77 1 4