blib/lib/URI/cockroach.pm

filter: Statementstmt 100% 9 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod 33.3% 1 / 3 totaltotal 88.2% 15 / 17 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
default_port
1.0
dbi_driver
1.0
CRAP 1.0
« blib/lib/URI/ldapdb.pm ↑ Summary blib/lib/URI/monetdb.pm »
1 package URI::cockroach;
2 2 ▶use base 'URI::_db';
Subroutine BEGIN: called CC=1 SCAR=0.0
3 2 our $VERSION = '0.21';
4  
5 42 ▶sub default_port { 26257 }
Subroutine default_port: called CC=1 SCAR=0.0
Pod documented
6 5 ▶sub dbi_driver { 'Pg' }
Subroutine dbi_driver: called CC=1 SCAR=0.0
Pod undocumented
7 40 ▶sub canonical_engine { 'cockroach' }
Subroutine canonical_engine: called CC=1 SCAR=0.0
Pod undocumented
8  
9 sub _dbi_param_map {
10 15 ▶ my $self = shift;
Subroutine _dbi_param_map: called CC=1 SCAR=0.0
11 return (
12 15 [ host => scalar $self->host ],
13 [ port => scalar $self->port ], # Always pass the port
14 [ dbname => scalar $self->dbname ],
15 );
16 }
« blib/lib/URI/ldapdb.pm ↑ Summary blib/lib/URI/monetdb.pm »