File Coverage

blib/lib/URI/oracle.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::oracle;
2 2     2   3107 use base 'URI::_db';
  2         6  
  2         452  
3             our $VERSION = '0.21';
4              
5 18     18 1 9175 sub default_port { 1521 }
6 5     5 0 16 sub dbi_driver { 'Oracle' }
7              
8             sub _dbi_param_map {
9 15     15   60 my $self = shift;
10             return (
11 15         41 [ host => scalar $self->host ],
12             [ port => scalar $self->_port ],
13             [ service_name => scalar $self->dbname ],
14             );
15             }
16              
17             1;