Condition Coverage

blib/lib/Mail/SPF/Request.pm
Criterion Covered Total %
condition 13 23 56.5


and 3 conditions

line !l l&&!r l&&r condition
263 2 2 9 $$self{'scope'} eq 'mfrom' || $$self{'scope'} eq 'pra' and $$self{'identity'} =~ /^(.*)@(.*?)$/
275 4 9 0 defined $$self{'localpart'} and length $$self{'localpart'}
284 0 12 1 grep(($$self{'scope'} eq $_), ('helo', 'mfrom', 'pra')) and not defined $$self{'ip_address'}

or 2 conditions

line l !l condition
212 8 10 $$self{'scope'} ||= 'mfrom'

or 3 conditions

line l !l&&r !l&&!r condition
263 11 0 2 $$self{'scope'} eq 'mfrom' || $$self{'scope'} eq 'pra'
280 0 2 0 $$self{'helo_identity'} ||= $$self{'identity'}
352 0 0 0 $$self{'root_request'} || $self
391 0 6 0 $$self{'authority_domain'} || $$self{'domain'}