-
Home
-
W3 Total Cache
-
2.8.12
-
Code
-
Classes
- Enterprise_Dbcache_WpdbInjection_Cluster
| Total Complexity |
168 |
| Dependencies |
3 |
| Dependents |
1 |
| Total lines |
1,089 |
| Lines of code |
567 |
| Logical lines of code |
338 |
| Comment lines |
355 |
| Methods |
28 |
| Properties |
15 |
Methods 28
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| db_connect() |
D |
28 |
35 |
124 |
| query() |
B |
38 |
15 |
69 |
| apply_configuration() |
A |
48 |
15 |
33 |
| _db_connect_fallback() |
A |
46 |
12 |
36 |
| add_database() |
A |
53 |
9 |
22 |
| _is_current_zone() |
A |
54 |
9 |
22 |
| set_charset() |
A |
54 |
8 |
20 |
| _get_table_from_query() |
S |
43 |
5 |
58 |
| _run_callbacks() |
S |
56 |
7 |
18 |
| init_charset() |
S |
58 |
7 |
16 |
| initialize() |
S |
55 |
5 |
20 |
| db_version() |
S |
59 |
5 |
14 |
| has_cap() |
S |
61 |
5 |
12 |
| _db_connect_reuse_connection() |
S |
59 |
4 |
16 |
| w3tc_footer_comment() |
S |
62 |
4 |
11 |
| add_zone() |
S |
65 |
4 |
9 |
| check_database_version() |
S |
59 |
2 |
15 |
| _disconnect() |
S |
66 |
3 |
9 |
| send_to_masters() |
S |
80 |
2 |
3 |
| _escape() |
S |
71 |
2 |
6 |
| prepare() |
S |
71 |
2 |
6 |
| _check_tcp_responsiveness() |
S |
65 |
2 |
8 |
| add_callback() |
S |
80 |
1 |
3 |
| send_reads_to_masters() |
S |
81 |
1 |
3 |
| flush() |
S |
74 |
1 |
5 |
| supports_collation() |
S |
79 |
1 |
3 |
| _is_write_query() |
S |
75 |
1 |
4 |
| w3tc_usage_statistics_of_request() |
S |
91 |
1 |
2 |