blib/lib/Net/DHCPv6/Option/ReconfAccept.pm untested

filter: Statementstmt 0.0% 0 / 23 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 7 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 32 CC 1 SCAR 6.9
CC
1
Cov
0%
new
2.0
from_bytes_inner
2.0
BEGIN
2.0
CRAP 2.0
1 #!/bin/false
2 # ABSTRACT: Reconfigure Accept option (code 20) -- zero-length data
3 # PODNAME: Net::DHCPv6::Option::ReconfAccept
4 use strictures 2;
5  
6 package Net::DHCPv6::Option::ReconfAccept;
7 $Net::DHCPv6::Option::ReconfAccept::VERSION = '0.002';
8 use Net::DHCPv6::OptionList;
9 use Net::DHCPv6::Constants;
10 use parent 'Net::DHCPv6::Option';
11 use namespace::clean;
12  
13 sub new {
14 my ( $class, %args ) = @_;
15 $args{code} = $OPTION_RECONF_ACCEPT;
16 return $class->SUPER::new( %args );
17 }
18  
19 sub from_bytes_inner {
20 my ( $class, $code, $payload ) = @_;
21 return $class->new;
22 }
23  
24 $Net::DHCPv6::OptionList::OPTION_CLASS{$OPTION_RECONF_ACCEPT} = __PACKAGE__;
25 1;
26  
27 __END__