line |
true |
false |
branch |
37
|
1 |
0 |
if (exists $args{'server'}) |
41
|
6 |
0 |
if not exists $$server{'user'} and exists $args{'user'} |
44
|
6 |
0 |
if not exists $$server{'password'} and exists $args{'password'} |
47
|
0 |
6 |
if not exists $$server{'write_timeout'} and exists $args{'write_timeout'} |
50
|
0 |
6 |
if not exists $$server{'read_timeout'} and exists $args{'read_timeout'} |
52
|
2 |
4 |
unless exists $$server{'id'} |
53
|
0 |
6 |
unless exists $$server{'type'} |
54
|
6 |
0 |
unless exists $$server{'weight'} |
55
|
6 |
0 |
unless exists $$server{'write_timeout'} |
56
|
6 |
0 |
unless exists $$server{'read_timeout'} |
59
|
3 |
3 |
if ($$server{'type'} eq 'slave') { } |
77
|
3 |
0 |
if @master |
91
|
0 |
0 |
unless my $counter = $dbh->do($sql, undef, @_) |
93
|
0 |
0 |
wantarray ? : |
98
|
0 |
0 |
ref $_[-1] eq 'CODE' ? : |
106
|
0 |
0 |
if (defined $async and defined $slave) { } |
|
0 |
0 |
elsif (defined $async) { } |
|
0 |
0 |
elsif (defined $slave) { } |
108
|
0 |
0 |
if ref $dbh ne 'DBI::db' |
113
|
0 |
0 |
if (ref $dbh ne 'DBI::db') |
116
|
0 |
0 |
if ref $dbh ne 'DBI::db' |
121
|
0 |
0 |
if ref $dbh ne 'DBI::db' |
125
|
0 |
0 |
if (ref $dbh ne 'DBI::db') |
128
|
0 |
0 |
if ref $dbh ne 'DBI::db' |
131
|
0 |
0 |
if (defined $async) { } |
132
|
0 |
0 |
unless my $sth = $dbh->prepare($query, {'async', 1}) |
133
|
0 |
0 |
unless $sth->execute(@_) |
137
|
0 |
0 |
unless my $sth = $dbh->prepare($query) |
138
|
0 |
0 |
unless my $counter = $sth->execute(@_) |
140
|
0 |
0 |
wantarray ? : |