-
Home
-
WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance
-
4.2.4
-
Code
-
Classes
- WPO_WebP_Alter_HTML
| Total Complexity |
32 |
| Dependencies |
1 |
| Dependents |
1 |
| Total lines |
182 |
| Lines of code |
90 |
| Logical lines of code |
52 |
| Comment lines |
68 |
| Methods |
12 |
| Properties |
1 |
Methods 12
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| alter_html() |
A |
52 |
9 |
24 |
| handle_srcset() |
S |
56 |
4 |
16 |
| start() |
S |
66 |
5 |
8 |
| get_instance() |
S |
69 |
2 |
7 |
| maybe_replace_url() |
S |
72 |
2 |
6 |
| looks_like_srcset() |
S |
71 |
2 |
6 |
| handle_attribute() |
S |
71 |
2 |
6 |
| is_webp_version_available() |
S |
72 |
2 |
5 |
| __construct() |
S |
78 |
1 |
3 |
| replace_url() |
S |
80 |
1 |
3 |
| handle_src() |
S |
80 |
1 |
3 |
| is_image_attribute() |
S |
79 |
1 |
3 |