-
Home
-
10Web Booster – Website speed optimization, Cache & Page Speed optimizer
-
2.17.23
-
Code
-
Classes
- OptimizerApi
Total Complexity |
130 |
Dependencies |
12 |
Dependents |
1 |
Total lines |
1,212 |
Lines of code |
989 |
Logical lines of code |
438 |
Comment lines |
104 |
Methods |
36 |
Properties |
2 |
Methods 36
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
set_modes() |
B |
35 |
19 |
84 |
two_rest() |
B |
24 |
1 |
328 |
set_webp_status() |
A |
44 |
12 |
42 |
update_settings() |
A |
43 |
9 |
50 |
check_domain() |
S |
45 |
6 |
42 |
delete_so_page() |
S |
46 |
5 |
39 |
validate_page_id() |
S |
74 |
7 |
3 |
validate_option_value() |
S |
52 |
5 |
26 |
get_page_id() |
S |
50 |
4 |
29 |
get_settings() |
S |
52 |
4 |
25 |
clear_cache() |
S |
52 |
4 |
24 |
rerun_benchmark() |
S |
53 |
4 |
22 |
get_benchmark_data() |
S |
53 |
4 |
22 |
page_cache() |
S |
51 |
3 |
26 |
connect_from_core() |
S |
54 |
3 |
22 |
check_authorization() |
S |
56 |
3 |
18 |
get_pages() |
S |
61 |
3 |
12 |
logout() |
S |
54 |
2 |
20 |
update_nps() |
S |
55 |
2 |
20 |
set_cloudflare_cache_status() |
S |
55 |
2 |
19 |
validate_cloudflare_status() |
S |
71 |
3 |
6 |
set_score() |
S |
63 |
3 |
10 |
optimization_data() |
S |
54 |
1 |
22 |
add_booster_version() |
S |
68 |
2 |
7 |
wp_unslash_conditional() |
S |
69 |
2 |
7 |
check_critical_authorization() |
S |
71 |
2 |
5 |
get_page_cache_status() |
S |
67 |
2 |
8 |
get_webp_status() |
S |
65 |
2 |
9 |
get_incompatible_active_plugins() |
S |
67 |
2 |
8 |
get_modes() |
S |
65 |
2 |
9 |
clear_response() |
S |
74 |
2 |
5 |
validate_mode() |
S |
79 |
1 |
3 |
set_critical() |
S |
78 |
1 |
4 |
validate_string() |
S |
80 |
1 |
3 |
validate_boolean() |
S |
75 |
1 |
4 |
__construct() |
S |
69 |
1 |
6 |