File Coverage

blib/lib/Async/Redis/Error/Connection.pm
Criterion Covered Total %
statement 14 15 93.3
branch n/a
condition n/a
subroutine 7 8 87.5
pod 4 4 100.0
total 25 27 92.5


line stmt bran cond sub pod time code
1             package Async::Redis::Error::Connection;
2              
3 74     74   1061 use strict;
  74         178  
  74         3442  
4 74     74   454 use warnings;
  74         148  
  74         5287  
5 74     74   1506 use 5.018;
  74         292  
6              
7             our $VERSION = '0.001';
8              
9 74     74   1240 use parent 'Async::Redis::Error';
  74         655  
  74         1001  
10              
11 1     1 1 764 sub host { shift->{host} }
12 1     1 1 6 sub port { shift->{port} }
13 0     0 1 0 sub path { shift->{path} } # for unix sockets
14 1     1 1 7 sub reason { shift->{reason} }
15              
16             1;
17              
18             __END__