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

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