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 92     92   817 use strict;
  92         148  
  92         3073  
4 92     92   546 use warnings;
  92         212  
  92         4256  
5 92     92   1329 use 5.018;
  92         292  
6              
7 92     92   5016 use parent 'Async::Redis::Error';
  92         4222  
  92         578  
8              
9 1     1 1 430 sub host { shift->{host} }
10 1     1 1 4 sub port { shift->{port} }
11 0     0 1 0 sub path { shift->{path} } # for unix sockets
12 1     1 1 3 sub reason { shift->{reason} }
13              
14             1;
15              
16             __END__