| line |
true |
false |
branch |
|
65
|
0 |
0 |
if $self->{'persist'} |
|
74
|
0 |
0 |
if ($self->{'max_age'}) |
|
83
|
0 |
0 |
if ($self->{'refresh'}) |
|
117
|
0 |
0 |
if ($bus_id eq $worker_bus->bus_id) |
|
142
|
0 |
0 |
if $self->{'synced'} |
|
146
|
0 |
0 |
$delay < 10 ? : |
|
157
|
0 |
0 |
if $self->{'synced'} |
|
185
|
0 |
0 |
unless $success |
|
204
|
0 |
0 |
unless $success |
|
214
|
0 |
0 |
if $self->{'_sync_timeout'} |
|
241
|
0 |
0 |
if $self->{'synced'} |
|
246
|
0 |
0 |
$success ? : |
|
253
|
0 |
0 |
unless $bus->{'is_connected'} |
|
287
|
0 |
0 |
unless $success |
|
297
|
0 |
0 |
unless $bus->{'is_connected'} |
|
308
|
0 |
0 |
unless defined $key |
|
324
|
0 |
0 |
if $self->{'on_update'} |
|
341
|
0 |
0 |
unless (defined $value) |
|
346
|
0 |
0 |
if ($_now != time) |
|
383
|
0 |
0 |
if defined $uid and $uid eq $self->{'uid'} |
|
385
|
0 |
0 |
if ($version > ($self->{'vers'}{$key} || 0)) { } |
|
|
0 |
0 |
elsif ($version < $self->{'vers'}{$key}) { } |
|
394
|
0 |
0 |
if $self->{'on_update'} |
|
405
|
0 |
0 |
$_[0]{'time'} > $_[1]{'time'} ? : |
|
427
|
0 |
0 |
if $self->{'on_update'} |
|
430
|
0 |
0 |
unless (defined $self->{'data'}{$key}) |
|
435
|
0 |
0 |
if ($_now != time) |
|
471
|
0 |
0 |
if $dump->{'uid'} eq $self->{'uid'} |
|
481
|
0 |
0 |
unless defined $self->{'data'}{$key} |
|
483
|
0 |
0 |
unless $self->{'max_age'} |
|
487
|
0 |
0 |
unless $age > $self->{'max_age'} * "0.3" |
|
488
|
0 |
0 |
unless $age < $self->{'max_age'} * "1.3" |
|
503
|
0 |
0 |
unless $self->{'time'}{$key} < $min_time |
|
504
|
0 |
0 |
unless defined $self->{'data'}{$key} |
|
513
|
0 |
0 |
unless $self->{'synced'} |
|
520
|
0 |
0 |
if -e $tmp_file and (stat $tmp_file)[9] == time |
|
523
|
0 |
0 |
unless sysopen my $fh, $tmp_file, 66 |
|
524
|
0 |
0 |
unless flock $fh, 6 |
|
525
|
0 |
0 |
unless truncate $fh, 0 |
|
539
|
0 |
0 |
unless -e $tmp_file |
|
542
|
0 |
0 |
if $self->{'max_age'} and (stat $tmp_file)[9] < time - $self->{'max_age'} |
|
545
|
0 |
0 |
unless open my $fh, "<", $tmp_file |
|
551
|
0 |
0 |
if $@ |
|
553
|
0 |
0 |
$self->{'max_age'} ? : |
|
557
|
0 |
0 |
if $min_time and $entry->[3] < $min_time |
|
565
|
0 |
0 |
if $self->{'persist'} |
|
569
|
0 |
0 |
unless $bus->{'is_connected'} |