blib/lib/SMB/v1/Command/Negotiate.pm untested

filter: Statementstmt 0.0% 0 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 21 SCAR 6.9
CC
1
Cov
0%
parse
2.0
supports_protocol
2.0
BEGIN
2.0
CRAP 2.0
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 <http://www.gnu.org/licenses/>.
15  
16 package SMB::v1::Command::Negotiate;
17  
18 use strict;
19 use warnings;
20  
21 use parent 'SMB::v1::Command';
22  
23 sub parse ($$%) {
24 my $self = shift;
25 my $parser = shift;
26  
27 return $self;
28 }
29  
30 sub supports_protocol ($$) {
31 my $self = shift;
32  
33 return 1;
34 }
35  
36 1;