Condition Coverage

lib/Sisimai/RFC5322.pm
Criterion Covered Total %
condition 46 48 95.8


or 2 conditions

line l !l condition
35 2 0 shift() || (return [])
51 4449 6 shift() || (return [])
80 18386 11 $$recvd[$index + 1] || (next)
124 219 11 shift @{'Sisimai::RFC791'->find($token->{$e})} || ''
127 3707 739 $token->{'from'} ||= ""
174 3707 739 $token->{'from'} || ''
4300 146 $token->{'by'} || ''
56 4390 $token->{'via'} || ''
3768 678 $token->{'with'} || ''
3603 843 $token->{'id'} || ''
2871 1575 $token->{'for'} || ''
187 4457 1 shift() || (return undef)
188 4456 1 shift() || (return undef)
189 31 4425 shift() // 0
206 3392 0 substr($$email, $positionor + length($boundaryor) + 1) || ''

or 3 conditions

line l !l&&r !l&&!r condition
52 1 1 4446 index($argv1, [" invoked by uid"," invoked from network"]->[0]) > 0 or index($argv1, [" invoked by uid"," invoked from network"]->[1]) > 0
113 751 212 5289 length $e < 4 or $e eq "unknown"
114 356 481 4452 $e eq "localhost" or $e eq "[127.0.0.1]"
837 5 4447 $e eq "localhost" or $e eq "[127.0.0.1]" or $e eq "[IPv6:::1]"
115 552 26 3869 index($e, ".") == -1 or index($e, "=") > 1
130 372 10 4064 $token->{'from'} eq "localhost" or $token->{'from'} eq "localhost.localdomain"