blib/lib/URI/cubrid.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 7 | 7 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 4 | 4 | 100.0 |
pod | 1 | 2 | 50.0 |
total | 12 | 13 | 92.3 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package URI::cubrid; | ||||||
2 | 2 | 2 | 2541 | use base 'URI::_db'; | |||
2 | 4 | ||||||
2 | 431 | ||||||
3 | our $VERSION = '0.20'; | ||||||
4 | |||||||
5 | 18 | 18 | 1 | 7713 | sub default_port { 33000 } | ||
6 | 1 | 1 | 0 | 4 | sub dbi_driver { 'cubrid' } | ||
7 | |||||||
8 | sub _dbi_param_map { | ||||||
9 | 3 | 3 | 11 | my $self = shift; | |||
10 | return ( | ||||||
11 | 3 | 10 | [ host => scalar $self->host ], | ||||
12 | [ port => scalar $self->_port ], | ||||||
13 | [ database => scalar $self->dbname ], | ||||||
14 | ); | ||||||
15 | } | ||||||
16 | |||||||
17 | 1; |