-
Home
-
WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance
-
3.2.4
-
Code
-
Classes
- WP_Optimize_Gzip_Compression
| Total Complexity |
40 |
| Dependencies |
3 |
| Dependents |
1 |
| Total lines |
276 |
| Lines of code |
156 |
| Logical lines of code |
68 |
| Comment lines |
71 |
| Methods |
10 |
| Properties |
3 |
Methods 10
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| enable_gzip_command_handler() |
A |
46 |
10 |
38 |
| get_headers_information() |
A |
56 |
8 |
17 |
| 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 |
| __construct() |
S |
76 |
1 |
4 |
| is_gzip_compression_section_exists() |
S |
80 |
1 |
3 |
| enable() |
S |
76 |
1 |
4 |
| disable() |
S |
77 |
1 |
4 |