blib/lib/Mail/AuthenticationResults/Token/Space.pm untested

filter: Statementstmt 0.0% 0 / 25 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 9 Podpod 0.0% 0 / 4 totaltotal 0.0% 0 / 38 CC 1 SCAR 6.9
CC
1
Cov
0%
is
2.0
new
2.0
parse
2.0
CRAP 2.0
1 package Mail::AuthenticationResults::Token::Space;
2 # ABSTRACT: Class for modelling AuthenticationResults Header parts detected as spaces
3  
4 require 5.008;
5 use strict;
6 use warnings;
7 our $VERSION = '2.20260216'; # VERSION
8 use Carp;
9  
10 use base 'Mail::AuthenticationResults::Token';
11  
12  
13 sub is {
14 my ( $self ) = @_;
15 return 'space';
16 }
17  
18 sub new {
19 my ($self) = @_;
20 croak 'Space tokens are not used in parsing';
21 }
22  
23 sub parse {
24 my ($self) = @_;
25 croak 'Space tokens are not used in parsing';
26 }
27  
28 sub remainder {
29 my ($self) = @_;
30 croak 'Space tokens are not used in parsing';
31 }
32  
33  
34 1;
35  
36 __END__