lib/Net/DHCPv6/Message/RelayForw.pm

filter: Statementstmt 100% 21 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod 100% 1 / 1 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/Constants.pm ↑ Summary lib/Net/DHCPv6/Message/RelayReply.pm »
1 #!/bin/false
2 # ABSTRACT: Relay-Forward message (type 12)
3 # PODNAME: Net::DHCPv6::Message::RelayForw
4 15 ▶use strictures 2;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 package Net::DHCPv6::Message::RelayForw;
7 15 $Net::DHCPv6::Message::RelayForw::VERSION = '0.002';
8 15 ▶use Net::DHCPv6::Packet;
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::Packet::Relay';
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 1 ▶ my ( $class, %args ) = @_;
Subroutine new: called CC=1 SCAR=0.0
Pod documented
15 1 $args{msg_type} = $RELAY_FORW;
16 1 return $class->SUPER::new( %args );
17 }
18  
19 15 $Net::DHCPv6::Packet::MESSAGE_CLASS{$RELAY_FORW} = __PACKAGE__;
20  
21 15 1;
22  
23 __END__
« lib/Net/DHCPv6/Constants.pm ↑ Summary lib/Net/DHCPv6/Message/RelayReply.pm »