Connector/Driver/mysql.pm

filter: Statementstmt 57.1% 12 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 42.8% 3 / 7 Podpod 100% 3 / 3 totaltotal 58.0% 18 / 31 CC 1 SCAR 4.5
CC
1
Cov
57%
_connect
2.0
savepoint
2.0
release
2.0
CRAP 1.6
« Connector/Driver.pm ↑ Summary Connector/Driver/Pg.pm »
1 1 ▶use strict; use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
Subroutine BEGIN: called CC=1 SCAR=0.0
2  
3 package DBIx::Connector::Driver::mysql;
4  
5 1 ▶use DBIx::Connector::Driver;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 1 our $VERSION = '0.60';
8 1 our @ISA = qw( DBIx::Connector::Driver );
9  
10 0 ▶sub _connect {
Subroutine _connect: not called CC=1 SCAR=6.9
11 0 my ($self, $dbh) = @_;
12 0 $dbh->{mysql_auto_reconnect} = 0;
13 0 $dbh;
14 }
15  
16 0 ▶sub savepoint {
Subroutine savepoint: not called CC=1 SCAR=6.9
Pod documented
17 0 my ($self, $dbh, $name) = @_;
18 0 $dbh->do("SAVEPOINT $name");
19 }
20  
21 0 ▶sub release {
Subroutine release: not called CC=1 SCAR=6.9
Pod documented
22 0 my ($self, $dbh, $name) = @_;
23 0 $dbh->do("RELEASE SAVEPOINT $name");
24 }
25  
26 0 ▶sub rollback_to {
Subroutine rollback_to: not called CC=1 SCAR=6.9
Pod documented
27 0 my ($self, $dbh, $name) = @_;
28 0 $dbh->do("ROLLBACK TO SAVEPOINT $name");
29 }
30  
31 1 1;
32  
33 __END__
« Connector/Driver.pm ↑ Summary Connector/Driver/Pg.pm »