teradata.pm

filter: Statementstmt 100% 11 / 11 Branchbran n/a Conditioncond 66.6% 2 / 3 MC/DCmcdc 0.0% 0 / 2 Subroutinesub 100% 5 / 5 Podpod 33.3% 1 / 3 totaltotal 79.1% 19 / 24 CC 2 SCAR 2.9
CC
2
Cov
93%
dbi_dsn
2.0
BEGIN
1.0
default_port
1.0
CRAP 1.3
« unify.pm ↑ Summary maxdb.pm »
1 package URI::teradata;
2 2 ▶use base 'URI::_db';
Subroutine BEGIN: called CC=1 SCAR=0.0
3 2 our $VERSION = '0.24';
4  
5 18 ▶sub default_port { 1025 }
Subroutine default_port: called CC=1 SCAR=0.0
Pod documented
6 2 ▶sub dbi_driver { 'Teradata' }
Subroutine dbi_driver: called CC=1 SCAR=0.0
Pod undocumented
7  
8 6 ▶sub _dbi_param_map {
Subroutine _dbi_param_map: called CC=1 SCAR=0.0
9 6 return [ DATABASE => scalar shift->dbname ];
10 }
11  
12 2 ▶sub dbi_dsn {
Subroutine dbi_dsn: called CC=2 SCAR=7.0
Pod undocumented
13 2 my $self = shift;
14 return join ';' => (
15 join (
16 ':' => 'dbi', $self->dbi_driver,
17 2 ▶ grep { defined } $self->host, $self->_port
Condition66%2/3
$self->_dsn_params || ()
l!l&&r!l&&!r
110
MC/DC0%0/2
$self->_dsn_params || ()
$self->_dsn_params ()
Truth table66%2/3
A || B
A= $self->_dsn_paramsB= ()
ABresult
1X1
011
000
18 ),
19 $self->_dsn_params || ()
20 );
21 }
22  
23 2 1;
« unify.pm ↑ Summary maxdb.pm »