-
Home
-
A2 Optimized WP – Turbocharge and secure your WordPress site
-
2.1.4.6.2
-
Code
-
Classes
- A2_Optimized_DBOptimizations
Total Complexity |
38 |
Dependencies |
0 |
Dependents |
3 |
Total lines |
213 |
Lines of code |
145 |
Logical lines of code |
81 |
Comment lines |
38 |
Methods |
14 |
Properties |
1 |
Methods 14
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
execute_optimizations() |
S |
55 |
7 |
21 |
hooks() |
S |
64 |
5 |
9 |
remove_expired_transients() |
S |
60 |
3 |
12 |
remove_revisions_posts() |
S |
63 |
3 |
11 |
remove_trashed_posts() |
S |
62 |
3 |
11 |
remove_spam_comments() |
S |
62 |
3 |
11 |
remove_trashed_comments() |
S |
62 |
3 |
11 |
optimize_tables() |
S |
62 |
3 |
11 |
__construct() |
S |
68 |
2 |
8 |
validate_db_optimization_settings() |
S |
68 |
2 |
7 |
get_defaults() |
S |
63 |
1 |
11 |
zero_settings() |
S |
64 |
1 |
11 |
allow_load() |
S |
75 |
1 |
4 |
set() |
S |
68 |
1 |
7 |