blib/lib/URI/yugabyte.pm

filter: Statementstmt 100% 10 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod 33.3% 1 / 3 totaltotal 88.8% 16 / 18 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/mysql.pm ↑ Summary blib/lib/URI/couchdb.pm »
1 package URI::yugabyte;
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 { 5433 }
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 { 'pg' }
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 }
17  
18 2 1;
« blib/lib/URI/mysql.pm ↑ Summary blib/lib/URI/couchdb.pm »