| line |
true |
false |
branch |
|
16
|
0 |
0 |
if ($params{'file'}) |
|
17
|
0 |
0 |
unless -f $params{'file'} |
|
19
|
0 |
0 |
unless -r $params{'file'} |
|
26
|
0 |
0 |
if ($params{'hash'}) |
|
38
|
0 |
0 |
unless $$self{'oldvalues'} |
|
41
|
0 |
0 |
if (-r $file and -f $file) { } |
|
65
|
0 |
0 |
unless $first_line =~ /^(\S+) = .*/ |
|
67
|
0 |
0 |
substr($first_line, 0, 1) eq '.' ? : |
|
81
|
0 |
0 |
if ($line =~ /^
(\S+) \s
= \s
(?:Wrong \s Type \s \(should \s be \s [^:]+\): \s)?
([^:]+): \s
(.*)
/x) |
|
96
|
0 |
0 |
if (not $line =~ /^$/ || $line =~ /= ""$/ and $last_oid) |
|
97
|
0 |
0 |
if ($$values{$last_oid}[0] eq 'STRING' and not $$values{$last_oid}[1] =~ /"$/) |
|
104
|
0 |
0 |
if ($$values{$last_oid}[0] eq 'Hex-STRING') |
|
148
|
0 |
0 |
if ($line =~ /^
([^.]+) \. ([\d.]+) \s
= \s
(?:Wrong \s Type \s \(should \s be \s [^:]+\): \s)?
([^:]+): \s
(.*)
/x) |
|
158
|
0 |
0 |
if ($prefixes{$mib}) { } |
|
171
|
0 |
0 |
if (not $line =~ /^$/ || $line =~ /= ""$/ and $last_oid) |
|
172
|
0 |
0 |
if ($$values{$last_oid}[0] eq 'STRING' and not $$values{$last_oid}[1] =~ /"$/) |
|
179
|
0 |
0 |
if ($$values{$last_oid}[0] eq 'Hex-STRING' and $line =~ /^([A-F0-9]{2})( [A-F0-9]{2})?/) |
|
197
|
0 |
0 |
unless $oid |
|
198
|
0 |
0 |
unless $$self{'values'}{$oid} |
|
209
|
0 |
0 |
unless $oid |
|
213
|
0 |
0 |
unless $key =~ /^$oid\.(.+)/ |
|
226
|
0 |
0 |
if ($format eq 'Hex-STRING') { } |
|
|
0 |
0 |
elsif ($format eq 'STRING') { } |