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 4519 6 shift() || (return [])
80 18736 11 $$recvd[$index + 1] || (next)
124 224 11 shift @{'Sisimai::RFC791'->find($token->{$e})} || ''
127 3777 739 $token->{'from'} ||= ""
174 3777 739 $token->{'from'} || ''
4370 146 $token->{'by'} || ''
56 4460 $token->{'via'} || ''
3838 678 $token->{'with'} || ''
3673 843 $token->{'id'} || ''
2941 1575 $token->{'for'} || ''
187 4467 1 shift() || (return undef)
188 4466 1 shift() || (return undef)
189 32 4434 shift() // 0
206 3409 0 substr($$email, $positionor + length($boundaryor) + 1) || ''

or 3 conditions

line l !l&&r !l&&!r condition
52 1 1 4516 index($argv1, [" invoked by uid"," invoked from network"]->[0]) > 0 or index($argv1, [" invoked by uid"," invoked from network"]->[1]) > 0
113 761 222 5409 length $e < 4 or $e eq "unknown"
114 361 496 4552 $e eq "localhost" or $e eq "[127.0.0.1]"
857 5 4547 $e eq "localhost" or $e eq "[127.0.0.1]" or $e eq "[IPv6:::1]"
115 552 26 3969 index($e, ".") == -1 or index($e, "=") > 1
130 377 10 4129 $token->{'from'} eq "localhost" or $token->{'from'} eq "localhost.localdomain"