line |
true |
false |
branch |
63
|
61 |
1 |
if ($mailsaobject->{'local_tests_only'}) { }
|
67
|
0 |
1 |
if (eval {
do {
require Razor2::Client::Agent
}
}) { }
|
142
|
0 |
0 |
$type eq 'check' ? :
|
145
|
0 |
0 |
if (would_log('dbg', $debug))
|
163
|
0 |
0 |
if ($rc) { }
|
170
|
0 |
0 |
unless $rc->do_conf
|
174
|
0 |
0 |
if ($type ne 'check')
|
176
|
0 |
0 |
unless $ident = $rc->get_ident
|
182
|
0 |
0 |
unless my $objects = $rc->prepare_objects(\@msg)
|
184
|
0 |
0 |
unless ($rc->get_server_info)
|
195
|
0 |
0 |
unless my $sigs = $rc->compute_sigs($objects)
|
200
|
0 |
0 |
if ($type ne 'check' or not $rc->local_check($objects->[0]))
|
203
|
0 |
0 |
unless $rc->connect
|
206
|
0 |
0 |
if ($type eq 'check') { }
|
207
|
0 |
0 |
unless ($rc->check($objects))
|
213
|
0 |
0 |
unless ($rc->authenticate($ident))
|
217
|
0 |
0 |
unless ($rc->report($objects))
|
223
|
0 |
0 |
unless ($rc->disconnect)
|
233
|
0 |
0 |
if (ref $rc->{'logref'} and exists $rc->{'logref'}{'fd'})
|
240
|
0 |
0 |
if ($log == $rc->{'logref'}{'fd'})
|
245
|
0 |
0 |
if ($untie)
|
246
|
0 |
0 |
unless close $rc->{'logref'}{'fd'}
|
250
|
0 |
0 |
if ($type eq 'check')
|
267
|
0 |
0 |
if (defined $arrayref) { }
|
269
|
0 |
0 |
if (exists $cf->{'resp'}) { }
|
277
|
0 |
0 |
unless defined $tmpcf
|
278
|
0 |
0 |
unless defined $tmpct
|
279
|
0 |
0 |
unless defined $engine
|
315
|
0 |
0 |
if ($timer->timed_out)
|
319
|
0 |
0 |
if ($err)
|
321
|
0 |
0 |
if ($err =~ /(?:could not connect|network is unreachable)/) { }
|
|
0 |
0 |
elsif ($err =~ /timeout/i) { }
|
334
|
0 |
0 |
if (would_log('dbg', $debug))
|
339
|
0 |
0 |
wantarray ? :
|
345
|
0 |
0 |
unless $self->{'razor2_available'}
|
346
|
0 |
0 |
if $self->{'main'}{'local_tests_only'}
|
347
|
0 |
0 |
unless $self->{'main'}{'conf'}{'use_razor2'}
|
348
|
0 |
0 |
if $options->{'report'}{'options'}{'dont_report_to_razor'}
|
350
|
0 |
0 |
if ($self->razor2_access($options->{'text'}, 'report', undef)) { }
|
363
|
0 |
0 |
unless $self->{'razor2_available'}
|
364
|
0 |
0 |
if $self->{'main'}{'local_tests_only'}
|
365
|
0 |
0 |
unless $self->{'main'}{'conf'}{'use_razor2'}
|
366
|
0 |
0 |
if $options->{'revoke'}{'options'}{'dont_report_to_razor'}
|
368
|
0 |
0 |
if ($self->razor2_access($options->{'text'}, 'revoke', undef)) { }
|
381
|
0 |
4 |
if defined $permsgstatus->{'razor2_result'}
|
385
|
4 |
0 |
unless $self->{'razor2_available'}
|
386
|
0 |
0 |
unless $self->{'main'}{'conf'}{'use_razor2'}
|
404
|
0 |
0 |
if (exists $result->{'result'}) { }
|
|
0 |
0 |
elsif ($result->{'noresponse'}) { }
|
405
|
0 |
0 |
if $result->{'result'}
|
416
|
0 |
0 |
if $result->{'contested'}
|
419
|
0 |
0 |
if ($result->{'confidence'} > $cf)
|
440
|
0 |
0 |
unless $self->{'razor2_available'}
|
441
|
0 |
0 |
unless $self->{'main'}{'conf'}{'use_razor2'}
|
442
|
0 |
0 |
unless $self->{'main'}{'conf'}{'scores'}{'RAZOR2_CHECK'}
|
445
|
0 |
0 |
unless (defined $permsgstatus->{'razor2_result'})
|
450
|
0 |
0 |
if ($engine) { }
|
452
|
0 |
0 |
unless defined $cf
|
458
|
0 |
0 |
if ($ecf > $cf)
|
464
|
0 |
0 |
if ($cf >= $min and $cf <= $max)
|