-
Home
-
WP Compress – Instant Performance & Speed Optimization
-
6.30.23 (latest)
-
Code
-
Classes
- wps_cdn_rewrite
Total Complexity |
1,301 |
Dependencies |
13 |
Dependents |
3 |
Total lines |
4,212 |
Lines of code |
2,938 |
Logical lines of code |
1,967 |
Comment lines |
350 |
Methods |
73 |
Properties |
72 |
Methods 73
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
cdnRewriter() |
D |
0 |
170 |
349 |
mainInit() |
D |
0 |
141 |
405 |
buffer_local_callback() |
D |
13 |
114 |
171 |
cdn_rewrite_url() |
D |
18 |
78 |
180 |
local_image_tags() |
D |
22 |
60 |
160 |
dontRunif() |
D |
31 |
59 |
75 |
buffer_callback_v3() |
D |
39 |
45 |
41 |
init() |
D |
41 |
40 |
35 |
preload_custom_assetsMobile() |
D |
33 |
34 |
84 |
preload_custom_assets() |
D |
34 |
33 |
80 |
adjust_src_url() |
C |
37 |
32 |
69 |
rewrite_script_tag() |
C |
36 |
29 |
71 |
reformat_url() |
B |
38 |
19 |
65 |
add_scripts_inline() |
B |
39 |
19 |
60 |
isFEBuilder() |
B |
61 |
22 |
7 |
is_image() |
A |
50 |
17 |
27 |
is_excluded() |
A |
44 |
16 |
41 |
doCacheCombine() |
A |
45 |
15 |
44 |
isPageBuilder() |
A |
43 |
14 |
50 |
gtagDelay() |
A |
49 |
15 |
29 |
checkCache_plugins_loaded() |
A |
46 |
14 |
40 |
isExcludedFromCache() |
A |
49 |
14 |
29 |
__construct() |
A |
44 |
13 |
44 |
crittr_replace_css() |
A |
44 |
13 |
42 |
checkCache() |
A |
47 |
13 |
36 |
hiddenAdminArea() |
A |
50 |
11 |
30 |
adjust_style_tag() |
A |
51 |
11 |
25 |
isExcludedFrom() |
A |
52 |
11 |
23 |
getAllTags() |
A |
47 |
10 |
36 |
MediaActions() |
A |
55 |
11 |
20 |
noscript_decode() |
A |
55 |
11 |
19 |
script_decode() |
A |
55 |
11 |
19 |
set_image_sizes() |
A |
48 |
10 |
32 |
saveCache() |
A |
56 |
11 |
16 |
get_image_dimensions() |
A |
50 |
10 |
26 |
replace_iframe_tags() |
A |
48 |
9 |
33 |
is_excluded_link() |
A |
55 |
9 |
20 |
replace_source_tags() |
A |
49 |
8 |
30 |
image_url_matching_site_url() |
A |
54 |
8 |
20 |
perfMattersOverride() |
S |
59 |
8 |
14 |
url_to_path() |
S |
57 |
8 |
14 |
getRegexp() |
S |
53 |
7 |
20 |
isURLExcluded() |
S |
56 |
7 |
17 |
isExcluded() |
S |
59 |
6 |
13 |
dnsPrefetch() |
S |
57 |
5 |
16 |
local_script_encode() |
S |
57 |
5 |
15 |
rocketOverride() |
S |
61 |
5 |
14 |
local_script_decode() |
S |
59 |
5 |
13 |
is_mobile() |
S |
63 |
5 |
9 |
strInArray() |
S |
60 |
4 |
14 |
jetsmart_ajax_rewrite() |
S |
52 |
3 |
22 |
get_script_content() |
S |
56 |
3 |
17 |
isPageBuilderFE() |
S |
67 |
4 |
8 |
defaultExcluded() |
S |
64 |
4 |
10 |
format_svg_value() |
S |
64 |
4 |
10 |
inlineCSS() |
S |
60 |
3 |
13 |
favicon_replace() |
S |
64 |
3 |
10 |
isAPICall() |
S |
67 |
3 |
8 |
is_home_url() |
S |
62 |
3 |
10 |
get_image_size() |
S |
63 |
3 |
10 |
script_encode() |
S |
66 |
3 |
7 |
noscript_encode() |
S |
66 |
3 |
7 |
elementorAnimations() |
S |
68 |
2 |
7 |
buffer_local_go() |
S |
70 |
2 |
6 |
crittr_style_tag() |
S |
65 |
2 |
8 |
maybe_addslashes() |
S |
72 |
2 |
6 |
specialChars() |
S |
71 |
2 |
6 |
maybe_slash() |
S |
72 |
2 |
6 |
injectPreloadImages() |
S |
67 |
1 |
8 |
deferJSAssets() |
S |
82 |
1 |
3 |
isActive() |
S |
81 |
1 |
3 |
get_script_content_url() |
S |
67 |
1 |
8 |
removeBgOverlay() |
S |
82 |
1 |
3 |