line |
true |
false |
branch |
53
|
0 |
2 |
unless -e $file and -r $file
|
54
|
0 |
0 |
unless my $self = XMLin($file, 'ForceArray', ['li'])
|
57
|
0 |
0 |
unless defined $self->{'common'}
|
58
|
0 |
0 |
if (exists $self->{'plugins'}{'list'}{'plug-in'}{'id'} and defined $self->{'plugins'}{'list'}{'plug-in'}{'id'})
|
65
|
0 |
0 |
if ($ENV{'SG_DAEMON_DEBUG'})
|
87
|
0 |
0 |
if (exists $self->{'common'} and defined $self->{'common'}) { }
|
97
|
0 |
0 |
if (exists $self->{'common'}{'update-directory'} and defined $self->{'common'}{'update-directory'}) { }
|
106
|
0 |
0 |
if (exists $self->{'common'}{'server-list-file'} and defined $self->{'common'}{'server-list-file'}) { }
|
116
|
0 |
0 |
if (exists $self->{'common'}{'packages-history-dir'} and defined $self->{'common'}{'packages-history-dir'}) { }
|
126
|
0 |
0 |
if (exists $self->{'common'}{'conf-version'} and defined $self->{'common'}{'conf-version'}) { }
|
137
|
0 |
0 |
if (exists $self->{'daemon'} and defined $self->{'daemon'}) { }
|
147
|
0 |
0 |
if (exists $self->{'daemon'}{'pid-file'} and defined $self->{'daemon'}{'pid-file'}) { }
|
157
|
0 |
0 |
if (exists $self->{'daemon'}{'installed-packages-list'} and defined $self->{'daemon'}{'installed-packages-list'}) { }
|
167
|
0 |
0 |
if (exists $self->{'daemon'}{'installed-packages-list'}{'build-on-update'} and defined $self->{'daemon'}{'installed-packages-list'}{'build-on-update'}) { }
|
177
|
0 |
0 |
if (exists $self->{'daemon'}{'installed-packages-list'}{'build-each'} and defined $self->{'daemon'}{'installed-packages-list'}{'build-each'}) { }
|
187
|
0 |
0 |
if (exists $self->{'daemon'}{'update-list'} and defined $self->{'daemon'}{'update-list'}) { }
|
197
|
0 |
0 |
if (exists $self->{'daemon'}{'update-list'}{'build-on-start'} and defined $self->{'daemon'}{'update-list'}{'build-on-start'}) { }
|
207
|
0 |
0 |
if (exists $self->{'daemon'}{'update-list'}{'build-each'} and defined $self->{'daemon'}{'update-list'}{'build-each'}) { }
|
217
|
0 |
0 |
if (exists $self->{'daemon'}{'mode'} and defined $self->{'daemon'}{'mode'}) { }
|
227
|
0 |
0 |
if (exists $self->{'daemon'}{'listenning-port'} and defined $self->{'daemon'}{'listenning-port'}) { }
|
237
|
0 |
0 |
if (exists $self->{'daemon'}{'listenning-adress'} and defined $self->{'daemon'}{'listenning-adress'}) { }
|
247
|
0 |
0 |
if (exists $self->{'daemon'}{'connection-policy'} and defined $self->{'daemon'}{'connection-policy'}) { }
|
257
|
0 |
0 |
if (exists $self->{'daemon'}{'connection-policy'}{'all'} and defined $self->{'daemon'}{'connection-policy'}{'all'}) { }
|
267
|
0 |
0 |
if (exists $self->{'daemon'}{'connection-policy'}{'host'} and defined $self->{'daemon'}{'connection-policy'}{'host'}) { }
|
274
|
0 |
0 |
if (defined $self->{'daemon'}{'connection-policy'}{'all'} and defined $self->{'daemon'}{'connection-policy'}{'all'}{'allow-connection'} and $self->{'daemon'}{'connection-policy'}{'all'}{'allow-connection'} =~ /no/i)
|
321
|
0 |
0 |
if ($fatal) { }
|