blib/lib/URI/informix.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::informix; | ||||||
2 | 2 | 2 | 3098 | use base 'URI::_db'; | |||
2 | 5 | ||||||
2 | 505 | ||||||
3 | our $VERSION = '0.21'; | ||||||
4 | |||||||
5 | 18 | 18 | 1 | 9146 | sub default_port { 1526 } | ||
6 | 2 | 2 | 0 | 10 | sub dbi_driver { 'Informix' } | ||
7 | |||||||
8 | 6 | sub _dbi_param_map { } | |||||
9 | |||||||
10 | sub dbi_dsn { | ||||||
11 | 2 | 2 | 0 | 1089 | my $self = shift; | ||
12 | 2 | 66 | 5 | return join ':' => 'dbi', $self->dbi_driver, | |||
13 | join ';' => $self->dbname, ($self->_dsn_params || ()); | ||||||
14 | } | ||||||
15 | |||||||
16 | 1; |