DNS/RR/SPF.pm

filter: Statementstmt 100% 18 / 18 Branchbran 100% 2 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod 100% 2 / 2 totaltotal 100% 28 / 28 CC 2 SCAR 2.5
CC
2
Cov
100%
spfdata
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.3
« DNS/RR/X25.pm ↑ Summary DNS/RR/A.pm »
1 package Net::DNS::RR::SPF;
2  
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 our $VERSION = (qw$Id: SPF.pm 2003 2025-01-21 12:06:06Z willem $)[2];
6  
7 1 ▶use base qw(Net::DNS::RR::TXT);
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9  
10 =head1 NAME
11  
12 Net::DNS::RR::SPF - DNS SPF resource record
13  
14 =cut
15  
16 1 ▶use integer;
Subroutine BEGIN: called CC=1 SCAR=0.0
17  
18  
19 4 ▶sub spfdata {
Subroutine spfdata: called CC=2 SCAR=6.9
Pod documented
20 4 my ( $self, @argument ) = @_;
21 4 my @spf = shift->char_str_list(@argument);
22 4 ▶ return wantarray ? @spf : join '', @spf;
Branch: 1 branch
BranchTrueFalseTotal
wantarray ? : 3 1 4
23 }
24  
25 2 ▶sub txtdata { return &spfdata; }
Subroutine txtdata: called CC=1 SCAR=0.0
Pod documented
26  
27  
28 1 1;
29 __END__
« DNS/RR/X25.pm ↑ Summary DNS/RR/A.pm »