Branch Coverage

blib/lib/Email/Auth/AddressHash.pm
Criterion Covered Total %
branch 12 18 66.6


line true false branch
78 0 2 unless $secret
79 0 2 unless $hashlen
80 2 0 unless $hashtype
102 2 2 $hash eq $self->generate_hash($address, 0) ? :
115 6 0 if ($$self{'hashtype'} eq 'md5') { }
118 1 5 if ($withpre and $$self{'prefix'})
143 4 0 if ($address =~ /^([\w+-]+)@([\w.-]+)$/) { }
145 4 0 if ($lhs =~ /^([\w-]+)\+(\w+)$/) { }
147 2 2 if ($$self{'prefix'})