File Coverage

blib/lib/Protocol/Database/PostgreSQL/Backend/BindComplete.pm
Criterion Covered Total %
statement 9 13 69.2
branch n/a
condition n/a
subroutine 3 5 60.0
pod 1 2 50.0
total 13 20 65.0


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