Storage/DBI/Unrealized.pm

filter: Statementstmt 83.3% 20 / 24 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 87.5% 7 / 8 Podpod n/a totaltotal 84.3% 27 / 32 CC 1 SCAR 1.2
CC
1
Cov
83%
AUTOLOAD
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.1
« Storage/DBI/Mock.pm ↑ Summary Storage/Exception.pm »
1 6 ▶use 5.008;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 6 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 6 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 package Data::Storage::DBI::Unrealized;
6 6 ▶BEGIN {
Subroutine BEGIN: called CC=1 SCAR=0.0
7 6 $Data::Storage::DBI::Unrealized::VERSION = '1.102720';
8 }
9 # ABSTRACT: Proxy class for lazy DBI connections
10 6 ▶use parent 'Class::Accessor::Complex';
Subroutine BEGIN: called CC=1 SCAR=0.0
11 6 __PACKAGE__
12 ->mk_new
13 ->mk_scalar_accessors(qw(callback));
14 6 ▶use constant DEFAULTS => ();
Subroutine BEGIN: called CC=1 SCAR=0.0
15 6 ▶use constant FIRST_CONSTRUCTOR_ARGS => ();
Subroutine BEGIN: called CC=1 SCAR=0.0
16  
17 0 ▶sub AUTOLOAD {
Subroutine AUTOLOAD: not called CC=1 SCAR=6.9
18 0 my $self = shift;
19 0 (my $method = our $AUTOLOAD) =~ s/.*://;
20 0 $self->callback->connect;
21 0 $self->callback->dbh->$method(@_);
22 }
23 6 1;
24  
25  
26 __END__
« Storage/DBI/Mock.pm ↑ Summary Storage/Exception.pm »