DNS/RR/KEY.pm

filter: Statementstmt 100% 16 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 20 / 20 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« DNS/RR/HTTPS.pm ↑ Summary DNS/RR/NULL.pm »
1 package Net::DNS::RR::KEY;
2  
3 4 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 4 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 4 our $VERSION = (qw$Id: KEY.pm 2002 2025-01-07 09:57:46Z willem $)[2];
6  
7 4 ▶use base qw(Net::DNS::RR::DNSKEY);
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9  
10 =head1 NAME
11  
12 Net::DNS::RR::KEY - DNS KEY resource record
13  
14 =cut
15  
16  
17 4 ▶sub _defaults { ## specify RR attribute default values
Subroutine _defaults: called CC=1 SCAR=0.0
18 4 my $self = shift;
19  
20 4 $self->algorithm(1);
21 4 $self->flags(0);
22 4 $self->protocol(3);
23 4 return;
24 }
25  
26  
27 4 1;
28 __END__
« DNS/RR/HTTPS.pm ↑ Summary DNS/RR/NULL.pm »