File Coverage

blib/lib/Protocol/Database/PostgreSQL/Backend/PortalSuspended.pm
Criterion Covered Total %
statement 9 12 75.0
branch n/a
condition n/a
subroutine 3 4 75.0
pod 1 1 100.0
total 13 17 76.4


line stmt bran cond sub pod time code
1             package Protocol::Database::PostgreSQL::Backend::PortalSuspended;
2              
3 4     4   282722 use strict;
  4         9  
  4         217  
4 4     4   23 use warnings;
  4         10  
  4         402  
5              
6             our $VERSION = '2.001'; # VERSION
7              
8 4     4   27 use parent qw(Protocol::Database::PostgreSQL::Backend);
  4         9  
  4         29  
9              
10             =head1 NAME
11              
12             Protocol::Database::PostgreSQL::Backend::PortalSuspended
13              
14             =head1 DESCRIPTION
15              
16             =cut
17              
18             sub new_from_message {
19 0     0 1   my ($class, $msg) = @_;
20 0           (undef, my $size) = unpack('C1N1', $msg);
21 0           return $class->new;
22             }
23              
24             1;
25              
26             =head1 AUTHOR
27              
28             Tom Molesworth
29              
30             =head1 LICENSE
31              
32             Copyright Tom Molesworth 2010-2019. Licensed under the same terms as Perl itself.
33