wps_rewriteLogic D

Total Complexity 605
Dependencies 3
Dependents 1
Total lines 2,558
Lines of code 1,772
Logical lines of code 1,152
Comment lines 180
Methods 75
Properties 50

Methods 75

Method Rating Maintainability Complexity Lines of code
replaceImageTagsDo()
D
0
157 378
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
41 19 53
cdnAllLinks()
B
43 17 45
isExcluded()
A
44 16 41
imageTagAsset()
A
43 15 47
addCriticalCSS()
A
42 15 45
replaceImageTagsDoSlash()
A
43 13 44
reformatUrl()
A
46 12 35
replaceFonts()
A
55 13 16
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 65
imageUrlMatchingSiteUrl()
S
56 6 17
isExcludedFrom()
S
59 6 13
getPictureTags()
S
54 5 21
isMobile()
S
56 5 17
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
isPerfMattersLazyActive()
S
65 3 9
is_home_url()
S
67 3 6
defaultExcluded()
S
66 3 8
get_image_size()
S
66 3 8
iframeEncode()
S
66 3 7
disable_emojicons_tinymce()
S
69 2 7
revSliderActive()
S
71 2 6
checkFavIcon()
S
69 2 7
maybe_addslashes()
S
72 2 6
setupExcludes()
S
62 2 10
specialChars()
S
71 2 6
addCritical()
S
66 2 8
Brizy()
S
67 2 8
replaceBackgroundImagesInCSSLocal()
S
72 1 5
replaceSourceTags()
S
74 1 4
replacePictureTags()
S
75 1 4
replaceImageTags()
S
75 1 4
setMobile()
S
74 1 5
checkIsSlashed()
S
75 1 4
fonts()
S
75 1 4
replaceBackgroundImagesInCSS()
S
72 1 5
lazyCSS()
S
72 1 5
allLinks()
S
75 1 4
externalUrls()
S
75 1 4
favIcon()
S
75 1 4
runCriticalAjax()
S
75 1 4
revSliderReplace()
S
75 1 4
optimizeGoogleFonts()
S
72 1 5
cssToFooter()
S
75 1 4
backgroundSizing()
S
72 1 5
cssToFooterRender()
S
80 1 3
encodeIframe()
S
75 1 4
decodeIframe()
S
75 1 4
scriptContent()
S
75 1 4
lazyWpFonts()
S
73 1 5
defferAssets()
S
82 1 3
optimizeGoogleFontsRewrite()
S
77 1 4