blib/lib/URI/mysql.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/monetdb.pm ↑ Summary blib/lib/URI/yugabyte.pm »
1 package URI::mysql;
2 2 ▶use base 'URI::_db';
Subroutine BEGIN: called CC=1 SCAR=0.0
3 2 our $VERSION = '0.23';
4  
5 54 ▶sub default_port { 3306 }
Subroutine default_port: called CC=1 SCAR=0.0
Pod documented
6 2 ▶sub dbi_driver { 'MariaDB' }
Subroutine dbi_driver: called CC=1 SCAR=0.0
Pod undocumented
7 60 ▶sub canonical_engine { 'mysql' }
Subroutine canonical_engine: called CC=1 SCAR=0.0
Pod undocumented
8  
9 sub _dbi_param_map {
10 6 ▶ my $self = shift;
Subroutine _dbi_param_map: called CC=1 SCAR=0.0
11 return (
12 6 [ host => scalar $self->host ],
13 [ port => scalar $self->_port ],
14 [ database => scalar $self->dbname ],
15 );
16 }
17  
18 2 1;
« blib/lib/URI/monetdb.pm ↑ Summary blib/lib/URI/yugabyte.pm »