| line |
true |
false |
branch |
|
65
|
0 |
0 |
if $self->{'persist'} |
|
74
|
0 |
0 |
if ($self->{'max_age'}) |
|
83
|
0 |
0 |
if ($self->{'refresh'}) |
|
110
|
0 |
0 |
if ($bus_id eq $worker_bus->bus_id) |
|
131
|
0 |
0 |
$delay < 10 ? : |
|
142
|
0 |
0 |
if $self->{'synced'} |
|
170
|
0 |
0 |
unless $success |
|
189
|
0 |
0 |
unless $success |
|
199
|
0 |
0 |
if $self->{'_sync_timeout'} |
|
226
|
0 |
0 |
if $self->{'synced'} |
|
231
|
0 |
0 |
$success ? : |
|
238
|
0 |
0 |
unless $bus->{'is_connected'} |
|
272
|
0 |
0 |
unless $success |
|
283
|
0 |
0 |
unless defined $key |
|
299
|
0 |
0 |
if $self->{'on_update'} |
|
316
|
0 |
0 |
unless (defined $value) |
|
321
|
0 |
0 |
if ($_now != time) |
|
358
|
0 |
0 |
if defined $uid and $uid eq $self->{'uid'} |
|
360
|
0 |
0 |
if ($version > ($self->{'vers'}{$key} || 0)) { } |
|
|
0 |
0 |
elsif ($version < $self->{'vers'}{$key}) { } |
|
369
|
0 |
0 |
if $self->{'on_update'} |
|
380
|
0 |
0 |
$_[0]{'time'} > $_[1]{'time'} ? : |
|
402
|
0 |
0 |
if $self->{'on_update'} |
|
405
|
0 |
0 |
unless (defined $self->{'data'}{$key}) |
|
410
|
0 |
0 |
if ($_now != time) |
|
446
|
0 |
0 |
if $dump->{'uid'} eq $self->{'uid'} |
|
456
|
0 |
0 |
unless defined $self->{'data'}{$key} |
|
458
|
0 |
0 |
unless $self->{'max_age'} |
|
462
|
0 |
0 |
unless $age > $self->{'max_age'} * 0.3 |
|
463
|
0 |
0 |
unless $age < $self->{'max_age'} * 1.3 |
|
478
|
0 |
0 |
unless $self->{'time'}{$key} < $min_time |
|
479
|
0 |
0 |
unless defined $self->{'data'}{$key} |
|
488
|
0 |
0 |
unless $self->{'synced'} |
|
495
|
0 |
0 |
if -e $tmp_file and (stat $tmp_file)[9] == time |
|
498
|
0 |
0 |
unless sysopen my $fh, $tmp_file, 66 |
|
499
|
0 |
0 |
unless flock $fh, 6 |
|
500
|
0 |
0 |
unless truncate $fh, 0 |
|
514
|
0 |
0 |
unless -e $tmp_file |
|
517
|
0 |
0 |
if $self->{'max_age'} and (stat $tmp_file)[9] < time - $self->{'max_age'} |
|
520
|
0 |
0 |
unless open my $fh, '<', $tmp_file |
|
526
|
0 |
0 |
if $@ |
|
528
|
0 |
0 |
$self->{'max_age'} ? : |
|
532
|
0 |
0 |
if $min_time and $entry->[3] < $min_time |
|
540
|
0 |
0 |
if $self->{'persist'} |
|
544
|
0 |
0 |
unless $bus->{'is_connected'} |