Condition Coverage

blib/lib/Mail/Salsa/Action/Post.pm
Criterion Covered Total %
condition 0 68 0.0


and 3 conditions

line !l l&&!r l&&r condition
67 0 0 0 $$self{'config'}{'max_message_size'} and (-s $$self{'message'}) / 1024 > $$self{'config'}{'max_message_size'}
120 0 0 0 $bounce and $$self{'config'}{'accept_bounces'} eq 'n'
0 0 0 $$self{'stamp'} and not $human
165 0 0 0 exists $$self{'headers'}{'0.0'}{'cc'} and lc($$self{'headers'}{'0.0'}{'cc'}) =~ /\b$list\b/
166 0 0 0 exists $$self{'headers'}{'0.0'}{'x-been-there'} and $$self{'headers'}{'0.0'}{'x-been-there'} eq $$self{'list'}
331 0 0 0 -e $headerfile and -s $headerfile
335 0 0 0 -e $footerfile and -s $footerfile
341 0 0 0 exists $$self{'headers'}{$tree}{'content-type'}{'value'} and $$self{'headers'}{$tree}{'content-type'}{'value'} eq 'text/plain'
360 0 0 0 $prefix and index($_, $prefix, 0) == -1
361 0 0 0 $received == 1 and not /^(X-)?Received: / || /^[ \t]+/
372 0 0 0 $headerfile and $count == 1
376 0 0 0 $boundary and /^--$boundary/
380 0 0 0 $footerfile and $count == 2
426 0 0 0 $$array[0] eq 'deny' and $$array[3] eq 'anywhere'
433 0 0 0 defined $$array[4] and $$array[4]

or 2 conditions

line l !l condition
199 0 0 shift() || (return 0)
314 0 0 shift() || (return 1)
350 0 0 $$self{'stamp'} || ''
400 0 0 shift() || []

or 3 conditions

line l !l&&r !l&&!r condition
41 0 0 0 ref $proto || $proto
340 0 0 0 $headerfile or $footerfile
361 0 0 0 /^(X-)?Received: / || /^[ \t]+/
371 0 0 0 $headerfile or $footerfile
438 0 0 0 $$array[2] eq 'bounce' or $$array[2] eq 'proceed'