blib/lib/URI/unify.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 7 | 7 | 100.0 |
branch | n/a | ||
condition | 2 | 3 | 66.6 |
subroutine | 5 | 5 | 100.0 |
pod | 1 | 3 | 33.3 |
total | 15 | 18 | 83.3 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package URI::unify; | ||||||
2 | 2 | 2 | 3209 | use base 'URI::_db'; | |||
2 | 6 | ||||||
2 | 491 | ||||||
3 | our $VERSION = '0.21'; | ||||||
4 | |||||||
5 | 18 | 18 | 1 | 9157 | sub default_port { 27117 } | ||
6 | 3 | 3 | 0 | 13 | sub dbi_driver { 'Unify' } | ||
7 | |||||||
8 | 9 | sub _dbi_param_map { } | |||||
9 | |||||||
10 | sub dbi_dsn { | ||||||
11 | 3 | 3 | 0 | 1640 | my $self = shift; | ||
12 | 3 | 66 | 8 | return join ':' => 'dbi', $self->dbi_driver, | |||
13 | join ';' => $self->dbname, ($self->_dsn_params || ()); | ||||||
14 | } | ||||||
15 | |||||||
16 | 1; |