lib/Net/DHCPv6/Option/ReconfAccept.pm

filter: Statementstmt 100% 20 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod 100% 2 / 2 totaltotal 100% 28 / 28 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« lib/Net/DHCPv6/Option/Generic.pm ↑ Summary lib/Net/DHCPv6/X/BadDUID.pm »
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 15 $Net::DHCPv6::Option::ReconfAccept::VERSION = '0.001';
6 15 ▶use strictures 2;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 15 ▶use Net::DHCPv6::Constants;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 15 ▶use parent 'Net::DHCPv6::Option';
Subroutine BEGIN: called CC=1 SCAR=0.0
9 15 ▶use namespace::clean;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 sub new {
12 3 ▶ my ( $class, %args ) = @_;
Subroutine new: called CC=1 SCAR=0.0
Pod documented
13 3 $args{code} = $OPTION_RECONF_ACCEPT;
14 3 return $class->SUPER::new( %args );
15 }
16  
17 sub from_bytes_inner {
18 2 ▶ my ( $class, $code, $data ) = @_;
Subroutine from_bytes_inner: called CC=1 SCAR=0.0
Pod documented
19 2 return $class->new;
20 }
21  
22 15 $Net::DHCPv6::OptionList::OPTION_CLASS{$OPTION_RECONF_ACCEPT} = __PACKAGE__;
23 15 1;
24  
25 __END__
« lib/Net/DHCPv6/Option/Generic.pm ↑ Summary lib/Net/DHCPv6/X/BadDUID.pm »