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.003';
8 15 ▶use Net::DHCPv6::Packet ();
Subroutine BEGIN: called CC=1 SCAR=0.0
9 15 ▶use Net::DHCPv6::Constants qw(
Subroutine BEGIN: called CC=1 SCAR=0.0
10 $RELAY_FORW
11 15 );
12 15 ▶use parent 'Net::DHCPv6::Packet::Relay';
Subroutine BEGIN: called CC=1 SCAR=0.0
13 15 ▶use namespace::clean;
Subroutine BEGIN: called CC=1 SCAR=0.0
14  
15 1 ▶sub new {
Subroutine new: called CC=1 SCAR=0.0
Pod documented
16 1 my ( $class, %args ) = @_;
17 1 $args{msg_type} = $RELAY_FORW;
18 1 return $class->SUPER::new( %args );
19 }
20  
21 15 $Net::DHCPv6::Packet::MESSAGE_CLASS{$RELAY_FORW} = __PACKAGE__;
22  
23 15 1;
24  
25 __END__
« lib/Net/DHCPv6/Constants.pm ↑ Summary lib/Net/DHCPv6/Message/RelayReply.pm »