Storage/Exception/Connect.pm

filter: Statementstmt 100% 20 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 7 / 7 Podpod n/a totaltotal 100% 27 / 27 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Storage/Exception.pm ↑ Summary Storage/Filesystem/Record.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::Exception::Connect;
6 6 ▶BEGIN {
Subroutine BEGIN: called CC=1 SCAR=0.0
7 6 $Data::Storage::Exception::Connect::VERSION = '1.102720';
8 }
9 # ABSTRACT: Exception raised on a connection failure
10 6 ▶use parent qw(Data::Storage::Exception);
Subroutine BEGIN: called CC=1 SCAR=0.0
11 6 __PACKAGE__->mk_scalar_accessors(qw(dbname dbuser reason));
12 6 ▶use constant default_message =>
Subroutine BEGIN: called CC=1 SCAR=0.0
13 6 'Cannot connect to storage [%s] as user [%s]: %s';
14 6 ▶use constant PROPERTIES => (qw/dbname dbuser reason/);
Subroutine BEGIN: called CC=1 SCAR=0.0
15 6 1;
16  
17  
18 __END__
« Storage/Exception.pm ↑ Summary Storage/Filesystem/Record.pm »