blib/lib/Mojo/DB/Connector/Base.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 6 | 22 | 27.2 |
line | true | false | branch |
---|---|---|---|
37 | 0 | 1 | if ($scheme eq 'mariadb' or $scheme eq 'mysql') { } |
0 | 1 | elsif ($scheme eq 'postgresql') { } | |
39 | 0 | 0 | $config{'strict_mode'} ? : |
41 | 0 | 0 | unless ($self->_required_mysql) |
42 | 0 | 0 | unless eval { do { require Mojo::mysql; 1 } } |
49 | 0 | 0 | unless ($self->_required_pg) |
50 | 0 | 0 | unless eval { do { require Mojo::Pg; 1 } } |
73 | 0 | 0 | if ($config{'options'}) |
74 | 0 | 0 | if ($config{'replace_options'}) { } |
96 | 6 | 22 | if (my $url = $self->url) |
97 | 2 | 4 | ref $url_method ? : |