Branch Coverage

blib/lib/Mail/SPF/Record.pm
Criterion Covered Total %
branch 0 38 0.0


line true false branch
125 0 0 unless $self->class ne 'Mail::SPF::Record'
128 0 0 unless defined $$self{'parse_text'}
191 0 0 unless defined $$self{'parse_text'}
201 0 0 if (not $$self{'parse_text'} =~ s/^${\$self->version_tag_pattern;}(?:\x20+|$)//)
209 0 0 if ($$self{'parse_text'} =~ s/ ^ ( ${\'Mail::SPF::Mech'->qualifier_pattern;}? (${\'Mail::SPF::Mech'->name_pattern;}) [^\x20]* ) (?: \x20+ | $ ) //x) { }
0 0 elsif ($$self{'parse_text'} =~ s/ ^ ( (${\'Mail::SPF::Mod'->name_pattern;}) = [^\x20]* ) (?: \x20+ | $ ) //x) { }
223 0 0 unless defined $mech_class
241 0 0 if (defined $mod_class) { }
244 0 0 if ($mod->isa('Mail::SPF::GlobalMod')) { }
0 0 elsif ($mod->isa('Mail::SPF::PositionalMod')) { }
246 0 0 if defined $$self{'global_mods'}{$mod_name}
272 0 0 if $$self{'parse_text'} ne ''
288 0 0 unless defined $$self{'text'}
377 0 0 unless defined $server
379 0 0 unless defined $request
384 0 0 if ($term->isa('Mail::SPF::Mech')) { }
0 0 elsif ($term->isa('Mail::SPF::PositionalMod')) { }
0 0 elsif ($term->isa('Mail::SPF::UnknownMod')) { }
387 0 0 if ($mech->match($server, $request))