Condition Coverage

blib/lib/Mail/SPF/Request.pm
Criterion Covered Total %
condition 14 26 53.8


and 3 conditions

line !l l&&!r l&&r condition
265 13 0 0 not length $self->{'identity'} and defined $self->{'helo_identity'}
273 2 2 9 $self->{'scope'} eq 'mfrom' || $self->{'scope'} eq 'pra' and $self->{'identity'} =~ /^(.*)@(.*?)$/
286 4 0 9 defined $self->{'localpart'} and length $self->{'localpart'}
296 0 12 1 grep(($self->{'scope'} eq $_), ("helo", "mfrom", "pra")) and not defined $self->{'ip_address'}

or 2 conditions

line l !l condition
218 8 10 $self->{'scope'} ||= "mfrom"

or 3 conditions

line l !l&&r !l&&!r condition
273 11 0 2 $self->{'scope'} eq 'mfrom' || $self->{'scope'} eq 'pra'
290 0 2 0 $self->{'helo_identity'} ||= $self->{'identity'}
362 0 0 0 $self->{'root_request'} || $self
401 0 0 6 $self->{'authority_domain'} || $self->{'domain'}