blib/lib/URI/ingres.pm

filter: Statementstmt 100% 9 / 9 Branchbran n/a Conditioncond 66.6% 2 / 3 MC/DCmcdc 0.0% 0 / 2 Subroutinesub 100% 5 / 5 Podpod 33.3% 1 / 3 totaltotal 77.2% 17 / 22 CC 2 SCAR 3.0
CC
2
Cov
92%
dbi_dsn
2.0
BEGIN
1.0
default_port
1.0
CRAP 1.3
« blib/lib/URI/informix.pm ↑ Summary blib/lib/URI/unify.pm »
1 package URI::ingres;
2 2 ▶use base 'URI::_db';
Subroutine BEGIN: called CC=1 SCAR=0.0
3 2 our $VERSION = '0.21';
4  
5 18 ▶sub default_port { 1524 }
Subroutine default_port: called CC=1 SCAR=0.0
Pod documented
6 2 ▶sub dbi_driver { 'Ingres' }
Subroutine dbi_driver: called CC=1 SCAR=0.0
Pod undocumented
7  
8 ▶sub _dbi_param_map { }
Subroutine _dbi_param_map: called CC=1 SCAR=0.0
9  
10 sub dbi_dsn {
11 2 ▶ my $self = shift;
Subroutine dbi_dsn: called CC=2 SCAR=7.1
Pod undocumented
12 2 ▶ return join ':' => 'dbi', $self->dbi_driver,
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
13 join ';' => $self->dbname, ($self->_dsn_params || ());
14 }
15  
16 2 1;
« blib/lib/URI/informix.pm ↑ Summary blib/lib/URI/unify.pm »