File Coverage

lib/SMB/v1/Command/Negotiate.pm
Criterion Covered Total %
statement 9 14 64.2
branch n/a
condition n/a
subroutine 3 5 60.0
pod 0 2 0.0
total 12 21 57.1


line stmt bran cond sub pod time code
1             # SMB Perl library, Copyright (C) 2014 Mikhael Goikhman, migo@cpan.org
2             #
3             # This program is free software: you can redistribute it and/or modify
4             # it under the terms of the GNU General Public License as published by
5             # the Free Software Foundation, either version 3 of the License, or
6             # (at your option) any later version.
7             #
8             # This program is distributed in the hope that it will be useful,
9             # but WITHOUT ANY WARRANTY; without even the implied warranty of
10             # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11             # GNU General Public License for more details.
12             #
13             # You should have received a copy of the GNU General Public License
14             # along with this program. If not, see .
15              
16             package SMB::v1::Command::Negotiate;
17              
18 1     1   3196 use strict;
  1         2  
  1         29  
19 1     1   6 use warnings;
  1         1  
  1         22  
20              
21 1     1   5 use parent 'SMB::v1::Command';
  1         1  
  1         5  
22              
23             sub parse ($$%) {
24 0     0 0   my $self = shift;
25 0           my $parser = shift;
26              
27 0           return $self;
28             }
29              
30             sub supports_protocol ($$) {
31 0     0 0   my $self = shift;
32              
33 0           return 1;
34             }
35              
36             1;