-
Home
-
WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance
-
3.2.1
-
Code
-
Classes
- WP_Optimize_WebP
Total Complexity |
19 |
Dependencies |
3 |
Dependents |
1 |
Total lines |
177 |
Lines of code |
119 |
Logical lines of code |
39 |
Comment lines |
38 |
Methods |
10 |
Properties |
3 |
Methods 10
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
save_htaccess_rules() |
S |
56 |
5 |
18 |
prepare_webp_htaccess_rules() |
S |
45 |
1 |
57 |
get_instance() |
S |
69 |
2 |
7 |
set_converter_status() |
S |
66 |
2 |
8 |
set_server_info_instance() |
S |
70 |
2 |
6 |
set_webp_serve_method() |
S |
70 |
2 |
7 |
use_htaccess() |
S |
72 |
2 |
5 |
__construct() |
S |
73 |
1 |
6 |
set_rewrite_status() |
S |
80 |
1 |
3 |
use_alter_html() |
S |
91 |
1 |
2 |