| blib/lib/Pepper/DB.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 0 | 19 | 0.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 58 | 0 | 0 | 0 | $self->{'dbh'} and &blessed($self->{'dbh'}) =~ /DBI/ |
| 0 | 0 | 0 | $self->{'dbh'} and &blessed($self->{'dbh'}) =~ /DBI/ and time - $self->{'connect_time'} < 5 || $self->{'dbh'}->ping |
| line | l | !l | condition |
|---|---|---|---|
| 27 | 0 | 0 | $config->{'connect_to_database'} ||= 'information_schema' |
| 35 | 0 | 0 | $config->{'database_server'} ||= '127.0.0.1' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 30 | 0 | 0 | 0 | ref $config ne 'HASH' or not $config->{'database_username'} |
| 0 | 0 | 0 | ref $config ne 'HASH' or not $config->{'database_username'} or not $config->{'database_password'} | |
| 58 | 0 | 0 | 0 | time - $self->{'connect_time'} < 5 || $self->{'dbh'}->ping |