-
Home
-
Image Optimization by Optimole – Lazy Load, CDN, Convert WebP & AVIF
-
3.13.1 (latest)
-
Code
-
Classes
- Optml_Tag_Replacer
Total Complexity |
103 |
Dependencies |
5 |
Dependents |
2 |
Total lines |
540 |
Lines of code |
338 |
Logical lines of code |
182 |
Comment lines |
139 |
Methods |
13 |
Properties |
2 |
Methods 13
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
process_image_tags() |
C |
33 |
24 |
90 |
filter_image_downsize() |
B |
41 |
17 |
56 |
filter_srcset_attr() |
A |
42 |
15 |
50 |
parse_dimensions_from_tag() |
A |
51 |
12 |
25 |
regular_tag_replace() |
A |
52 |
12 |
19 |
filter_sizes_attr() |
S |
58 |
6 |
16 |
img_to_video() |
S |
47 |
3 |
40 |
should_lazy_gif() |
S |
64 |
5 |
9 |
can_replace_tag() |
S |
64 |
3 |
9 |
init() |
S |
61 |
2 |
11 |
instance() |
S |
68 |
2 |
7 |
__clone() |
S |
78 |
1 |
3 |
__wakeup() |
S |
78 |
1 |
3 |