lib/Net/DHCPv6/Option/ReconfAccept.pm

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