-
Home
-
ShortPixel Adaptive Images – WebP, AVIF, CDN, Image Optimization
-
3.7.1
-
Code
-
Classes
- ShortPixelUrlTools
Total Complexity |
144 |
Dependencies |
4 |
Dependents |
7 |
Total lines |
588 |
Lines of code |
371 |
Logical lines of code |
241 |
Comment lines |
159 |
Methods |
18 |
Properties |
3 |
Methods 18
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
url_to_path_to_sizes() |
C |
35 |
31 |
67 |
generate_placeholder_svg() |
A |
49 |
16 |
24 |
isValid() |
A |
45 |
15 |
36 |
absoluteUrl() |
A |
45 |
14 |
39 |
url_to_metadata_to_sizes() |
A |
46 |
12 |
34 |
get_image_size() |
A |
53 |
9 |
21 |
getCurrentScheme() |
S |
62 |
6 |
11 |
getimagesizeOrSvg() |
S |
55 |
5 |
18 |
trimSubstring() |
S |
57 |
5 |
17 |
check_open_basedir() |
S |
58 |
5 |
16 |
get_full_size_image_url() |
S |
60 |
5 |
14 |
is() |
S |
61 |
4 |
12 |
url_from_placeholder_svg() |
S |
57 |
3 |
17 |
retrieve_name() |
S |
69 |
4 |
5 |
get_home_path() |
S |
59 |
3 |
13 |
get_size_breakpoint() |
S |
68 |
3 |
6 |
get_from_meta_by_guid() |
S |
61 |
2 |
12 |
normalizePath() |
S |
65 |
2 |
9 |