blib/lib/Mail/AuthenticationResults/Header/Entry.pm untested

filter: Statementstmt 0.0% 0 / 28 Branchbran 0.0% 0 / 6 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 10 Podpod 0.0% 0 / 4 totaltotal 0.0% 0 / 48 CC 4 SCAR 20.2
CC
4
Cov
0%
_ALLOWED_CHILDREN
20.0
_HAS_KEY
2.0
_HAS_VALUE
2.0
CRAP 7.5
1 package Mail::AuthenticationResults::Header::Entry;
2 # ABSTRACT: Class modelling Main Entry parts of the Authentication Results Header
3  
4 require 5.008;
5 use strict;
6 use warnings;
7 our $VERSION = '2.20260216'; # VERSION
8 use Scalar::Util qw{ refaddr };
9 use Carp;
10  
11 use base 'Mail::AuthenticationResults::Header::Base';
12  
13  
14 sub _HAS_KEY{ return 1; }
15 sub _HAS_VALUE{ return 1; }
16 sub _HAS_CHILDREN{ return 1; }
17  
18 sub _ALLOWED_CHILDREN {
19 my ( $self, $child ) = @_;
20 return 1 if ref $child eq 'Mail::AuthenticationResults::Header::Comment';
21 return 1 if ref $child eq 'Mail::AuthenticationResults::Header::SubEntry';
22 return 1 if ref $child eq 'Mail::AuthenticationResults::Header::Version';
23 return 0;
24 }
25  
26 1;
27  
28 __END__