-
Home
-
SharDB
-
2.7.7 (latest)
-
Code
-
Classes
- SharDB
Total Complexity |
147 |
Dependencies |
2 |
Dependents |
0 |
Total lines |
629 |
Lines of code |
422 |
Logical lines of code |
296 |
Comment lines |
78 |
Methods |
15 |
Properties |
22 |
Methods 15
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
db_connect() |
D |
18 |
73 |
182 |
__construct() |
B |
42 |
19 |
46 |
check_tcp_responsiveness() |
A |
49 |
9 |
32 |
tables() |
A |
52 |
9 |
25 |
set_prefix() |
S |
56 |
6 |
18 |
get_ds_part_from_table() |
S |
56 |
6 |
15 |
get_table_from_query() |
S |
48 |
4 |
35 |
query() |
S |
56 |
4 |
19 |
disconnect() |
S |
60 |
4 |
14 |
get_partition_from_table() |
S |
68 |
3 |
6 |
is_resource() |
S |
70 |
3 |
6 |
set_blog_id() |
S |
63 |
3 |
10 |
_real_escape() |
S |
71 |
2 |
6 |
is_write_query() |
S |
71 |
1 |
5 |
send_reads_to_masters() |
S |
82 |
1 |
3 |