wps_rewriteLogic D

Total Complexity 594
Dependencies 3
Dependents 1
Total lines 2,536
Lines of code 1,756
Logical lines of code 1,144
Comment lines 179
Methods 75
Properties 50

Methods 75

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
43 10 46
isExcludedLink()
A
53 10 23
replaceBackgroundImage()
A
48 9 32
cssStyleLazy()
A
50 9 27
replace_with_480w()
A
50 9 26
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
replaceBackgroundDataSetting()
S
55 4 18
setupSiteUrl()
S
56 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
iframeEncode()
S
66 3 7
get_image_size()
S
66 3 8
defaultExcluded()
S
66 3 8
is_home_url()
S
67 3 6
isPerfMattersLazyActive()
S
65 3 9
revSliderActive()
S
71 2 6
maybe_addslashes()
S
72 2 6
disable_emojicons_tinymce()
S
69 2 7
Brizy()
S
67 2 8
addCritical()
S
66 2 8
setupExcludes()
S
62 2 10
checkFavIcon()
S
69 2 7
specialChars()
S
71 2 6
replacePictureTags()
S
75 1 4
replaceImageTags()
S
75 1 4
setMobile()
S
74 1 5
replaceBackgroundImagesInCSSLocal()
S
72 1 5
checkIsSlashed()
S
75 1 4
replaceSourceTags()
S
74 1 4
fonts()
S
75 1 4
scriptContent()
S
75 1 4
replaceBackgroundImagesInCSS()
S
72 1 5
backgroundSizing()
S
72 1 5
defferAssets()
S
82 1 3
lazyWpFonts()
S
73 1 5
decodeIframe()
S
75 1 4
encodeIframe()
S
75 1 4
cssToFooterRender()
S
80 1 3
cssToFooter()
S
75 1 4
lazyCSS()
S
72 1 5
optimizeGoogleFonts()
S
72 1 5
revSliderReplace()
S
75 1 4
runCriticalAjax()
S
75 1 4
favIcon()
S
75 1 4
externalUrls()
S
75 1 4
allLinks()
S
75 1 4
optimizeGoogleFontsRewrite()
S
77 1 4