| line |
true |
false |
branch |
|
136
|
0 |
55 |
if $params{'statedir'} |
|
150
|
0 |
0 |
unless my $content = $self->getContent |
|
151
|
0 |
0 |
exists $content->{$section} ? : |
|
157
|
0 |
0 |
unless $section = $self->getSection($section) |
|
158
|
0 |
0 |
exists $section->{$field} ? : |
|
164
|
0 |
1 |
unless $content |
|
167
|
2 |
2 |
if (ref $content->{$section} eq 'ARRAY') { } |
|
175
|
1 |
1 |
if ($section eq 'HARDWARE') |
|
179
|
1 |
0 |
if ($section eq 'OPERATINGSYSTEM') |
|
183
|
0 |
0 |
if ($section eq 'BIOS') |
|
187
|
0 |
0 |
if ($section eq 'ACCESSLOG') |
|
203
|
1 |
4829 |
unless $entry |
|
208
|
1 |
4828 |
unless $fields |
|
211
|
1 |
20814 |
unless ($fields->{$field}) |
|
217
|
781 |
20033 |
unless (defined $entry->{$field}) |
|
225
|
308 |
19725 |
if ($checks->{$field}) |
|
228
|
2 |
306 |
unless $value =~ /$checks->{$field}/ |
|
234
|
0 |
4828 |
if ($params{'noDuplicated'}) |
|
236
|
0 |
0 |
if $self->{'seen'}{$section}{$md5} |
|
240
|
368 |
4460 |
if ($section eq 'STORAGES') |
|
242
|
358 |
10 |
unless $entry->{'SERIALNUMBER'} |
|
252
|
1 |
0 |
if ($cpus) |
|
264
|
0 |
1 |
if ($interfaces) |
|
278
|
0 |
1 |
if ($users) |
|
282
|
0 |
0 |
if ($user->{'LOGIN'} =~ /(\S+)\\(\S+)/) { } |
|
307
|
0 |
7 |
unless ($fields{'HARDWARE'}{$field}) |
|
313
|
0 |
7 |
unless $args->{$field} |
|
324
|
1 |
1 |
unless ($fields{'OPERATINGSYSTEM'}{$field}) |
|
344
|
0 |
0 |
unless ($fields{'BIOS'}{$field}) |
|
358
|
0 |
0 |
unless ($fields{'ACCESSLOG'}{$field}) |
|
373
|
55 |
0 |
unless $tag |
|
409
|
0 |
3 |
if ($self->{'last_state_file'}) |
|
410
|
0 |
0 |
if (-f $self->{'last_state_file'}) { } |
|
416
|
0 |
0 |
if (ref $self->{'last_state_content'} ne 'HASH') |
|
434
|
31 |
20 |
if $self->{'last_state_content'}{$section} and $self->{'last_state_content'}{$section} eq $hash |
|
454
|
0 |
0 |
unless (defined $self->{'last_state_content'}) |
|
457
|
0 |
0 |
if ($self->{'last_state_file'}) { } |