Branch Coverage

blib/lib/Mail/SPF/Mech.pm
Criterion Covered Total %
branch 0 48 0.0


line true false branch
117 0 0 unless $self->class ne 'Mail::SPF::Mech'
120 0 0 unless defined $$self{'parse_text'}
121 0 0 if defined $$self{'domain_spec'} and not UNIVERSAL::isa($$self{'domain_spec'}, 'Mail::SPF::MacroString')
181 0 0 unless defined $$self{'parse_text'}
192 0 0 if ($$self{'parse_text'} =~ s/^(${\$self->qualifier_pattern;})?//) { }
204 0 0 if ($$self{'parse_text'} =~ s/^ (${\$self->name_pattern;}) (?: : (?=.) )? //x) { }
217 0 0 if ($$self{'parse_text'} =~ s/^(.*)//)
225 0 0 unless $$self{'parse_text'} eq ''
268 0 0 $self->can('params') ? :
269 0 0 $self->qualifier eq $self->default_qualifier ? :
0 0 defined $params ? :
290 0 0 unless defined $server
292 0 0 unless defined $request
294 0 0 if defined $$self{'domain_spec'}
331 0 0 unless defined $domain
336 0 0 $request->ip_address->version == 4 ? :
339 0 0 unless my(@rrs) = $packet->answer
343 0 0 if ($rr->type eq 'A') { }
0 0 elsif ($rr->type eq 'AAAA') { }
0 0 elsif ($rr->type eq 'CNAME') { }
345 0 0 if $network->contains($request->ip_address)
350 0 0 if $network->contains($request->ip_address_v6)
378 0 0 unless defined $explanation_template
406 0 0 unless $self->can('explanation_templates_by_result_code')