-
Home
-
WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance
-
4.2.4
-
Code
-
Classes
- WP_Optimize_Gzip_Compression
| Total Complexity |
42 |
| Dependencies |
3 |
| Dependents |
1 |
| Total lines |
294 |
| Lines of code |
164 |
| Logical lines of code |
73 |
| Comment lines |
78 |
| Methods |
11 |
| Properties |
3 |
Methods 11
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| enable_gzip_command_handler() |
A |
46 |
10 |
38 |
| get_headers_information() |
A |
55 |
8 |
18 |
| is_gzip_compression_enabled() |
S |
55 |
7 |
17 |
| check_api_for_gzip() |
S |
58 |
7 |
13 |
| prepare_gzip_section() |
S |
45 |
1 |
52 |
| restore() |
S |
75 |
3 |
4 |
| instance() |
S |
69 |
2 |
7 |
| __construct() |
S |
76 |
1 |
4 |
| is_gzip_compression_section_exists() |
S |
80 |
1 |
3 |
| enable() |
S |
76 |
1 |
4 |
| disable() |
S |
77 |
1 |
4 |