Enterprise_Dbcache_WpdbInjection_Cluster D

Total Complexity 165
Dependencies 3
Dependents 1
Total lines 895
Lines of code 495
Logical lines of code 329
Comment lines 262
Methods 28
Properties 15

Methods 28

Method Rating Maintainability Complexity Lines of code
db_connect()
D
29 34 114
apply_configuration()
A
48 15 33
query()
A
40 13 61
_db_connect_fallback()
A
48 12 29
_is_current_zone()
A
54 9 22
add_database()
A
55 9 18
set_charset()
A
56 8 17
_run_callbacks()
S
57 7 17
init_charset()
S
60 7 14
_get_table_from_query()
S
47 5 38
initialize()
S
55 5 20
db_version()
S
60 5 12
has_cap()
S
61 5 12
_db_connect_reuse_connection()
S
60 4 14
w3tc_footer_comment()
S
64 4 9
add_zone()
S
65 4 9
_disconnect()
S
67 3 8
_check_tcp_responsiveness()
S
67 2 7
_escape()
S
71 2 6
check_database_version()
S
68 2 6
prepare()
S
71 2 6
send_to_masters()
S
80 2 3
supports_collation()
S
80 1 3
flush()
S
74 1 5
_is_write_query()
S
75 1 4
send_reads_to_masters()
S
82 1 3
add_callback()
S
80 1 3
w3tc_usage_statistics_of_request()
S
91 1 2