| 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'} |
|
53
|
0 |
6 |
if not exists $server->{'read_timeout'} and exists $args{'read_timeout'} |
|
56
|
0 |
6 |
if not exists $server->{'connect_timeout'} and exists $args{'connect_timeout'} |
|
59
|
2 |
4 |
unless exists $server->{'id'} |
|
60
|
0 |
6 |
unless exists $server->{'type'} |
|
61
|
6 |
0 |
unless exists $server->{'weight'} |
|
62
|
6 |
0 |
unless exists $server->{'write_timeout'} |
|
63
|
6 |
0 |
unless exists $server->{'read_timeout'} |
|
64
|
6 |
0 |
unless exists $server->{'connect_timeout'} |
|
67
|
3 |
3 |
if ($server->{'type'} eq 'slave') { } |
|
85
|
3 |
0 |
if @master |
|
98
|
0 |
0 |
if defined $ENV{'MOJO_MYSQL_DEBUG'} |
|
100
|
0 |
0 |
unless my $counter = $dbh->do($sql, undef, @_) |
|
102
|
0 |
0 |
wantarray ? : |
|
107
|
0 |
0 |
ref $_[-1] eq 'CODE' ? : |
|
115
|
0 |
0 |
if (defined $async and defined $slave) { } |
|
|
0 |
0 |
elsif (defined $async) { } |
|
|
0 |
0 |
elsif (defined $slave) { } |
|
117
|
0 |
0 |
if ref $dbh ne 'DBI::db' |
|
122
|
0 |
0 |
if (ref $dbh ne 'DBI::db') |
|
125
|
0 |
0 |
if ref $dbh ne 'DBI::db' |
|
130
|
0 |
0 |
if ref $dbh ne 'DBI::db' |
|
134
|
0 |
0 |
if (ref $dbh ne 'DBI::db') |
|
137
|
0 |
0 |
if ref $dbh ne 'DBI::db' |
|
140
|
0 |
0 |
if defined $ENV{'MOJO_MYSQL_DEBUG'} |
|
142
|
0 |
0 |
if (defined $async) { } |
|
143
|
0 |
0 |
unless my $sth = $dbh->prepare($query, {'async', 1}) |
|
144
|
0 |
0 |
unless $sth->execute(@_) |
|
148
|
0 |
0 |
unless my $sth = $dbh->prepare($query) |
|
149
|
0 |
0 |
unless my $counter = $sth->execute(@_) |
|
151
|
0 |
0 |
wantarray ? : |