| line |
true |
false |
branch |
|
35
|
0 |
0 |
unless $type |
|
37
|
0 |
0 |
if uc $type eq $match |
|
52
|
0 |
0 |
if (wantarray) { } |
|
85
|
0 |
0 |
unless $response->is_success |
|
93
|
0 |
0 |
if (wantarray) { } |
|
122
|
0 |
0 |
if (@_) |
|
124
|
0 |
0 |
if $resolution < 9 or $resolution > 12 |
|
135
|
0 |
0 |
unless $response->is_success |
|
145
|
0 |
0 |
if (wantarray) { } |
|
183
|
0 |
0 |
unless $response->is_success |
|
195
|
0 |
0 |
if (wantarray) { } |
|
210
|
1 |
0 |
if (@_) { } |
|
225
|
0 |
1 |
if (defined $scan and $scan == 0) |
|
233
|
1 |
0 |
unless $response->is_success |
|
238
|
0 |
0 |
if ($addr =~ /10$/) { } |
|
|
0 |
0 |
elsif ($addr =~ /28$/) { } |
|
|
0 |
0 |
elsif ($addr =~ /12$/) { } |
|
267
|
0 |
0 |
unless ($sensor = delete $by_addr{$addr}) |
|
268
|
0 |
0 |
if ($addr =~ /10$/) { } |
|
|
0 |
0 |
elsif ($addr =~ /28$/) { } |
|
|
0 |
0 |
elsif ($addr =~ /12$/) { } |
|
285
|
0 |
0 |
if (defined $_[0]) |
|
286
|
0 |
0 |
if (ref $_[0] eq 'ARRAY') { } |
|
293
|
0 |
0 |
if (defined $_[1]) |
|
294
|
0 |
0 |
if (ref $_[1] eq 'ARRAY') { } |
|
314
|
0 |
0 |
unless $addr =~ /12$/ |
|
317
|
0 |
0 |
if $$chk{'part_of'} == $$self{'by_addr'}{$addr} |
|
339
|
0 |
0 |
unless @_ |
|
348
|
0 |
0 |
if (ref($addr) =~ /^Hardware::1Wire::HA7Net::/) { } |
|
|
0 |
0 |
elsif (ref $addr) { } |
|
|
0 |
0 |
elsif (not $addr =~ /^[\dA-Fa-f]{16}/) { } |
|
|
0 |
0 |
elsif (exists $$self{'by_addr'}{$addr}) { } |
|
364
|
0 |
0 |
if ($addr =~ /10$/) { } |
|
|
0 |
0 |
elsif ($addr =~ /28$/) { } |
|
|
0 |
0 |
elsif ($addr =~ /12$/) { } |
|
367
|
0 |
0 |
if (@answer = $response =~ /ID="Address.*?VALUE="([\dA-F]+)"
.*?
ID="Temperature.*?VALUE="(-?[\d.]+)"/gx) { } |
|
381
|
0 |
0 |
if (@answer = $response =~ /ID="Address.*?VALUE="([\dA-F]+)"
.*?
ID="Temperature.*?VALUE="(-?[\d.]+)/gx) { } |
|
395
|
0 |
0 |
if (@answer = $response =~ /ID="Probe_Address.*?VALUE="([\dA-F]+)"
.*?
ID="Probe_Value.*?VALUE="(-?[\d.]+)"
.*?
ID="Temperature_Address.*?VALUE="([\dA-F]+)"
.*?
ID="Temperature.*?VALUE="(-?[\d.]+?)"/gx) { } |
|
408
|
0 |
0 |
if ($answer[2] =~ /10$/) { } |
|
|
0 |
0 |
elsif ($answer[2] =~ /28$/) { } |
|
427
|
0 |
0 |
if (@answer) |
|
434
|
0 |
0 |
if @results |
|
440
|
0 |
0 |
if ($$sensor{'ha7net'} != $self) |
|
444
|
0 |
0 |
if ($sensor->isa('hmp2001s')) |
|
454
|
0 |
0 |
if ($$sensor{'ha7net'} != $self) |
|
458
|
0 |
0 |
if ($sensor->isa('ds1820')) { } |
|
|
0 |
0 |
elsif ($sensor->isa('ds18b20')) { } |
|
460
|
0 |
0 |
unless $analog_objs{$sensor->part_of} |
|
465
|
0 |
0 |
unless $analog_objs{$sensor->part_of} |
|
472
|
0 |
0 |
if (@ds1820) |
|
481
|
0 |
0 |
if (@ds18b20) |
|
491
|
0 |
0 |
if (@analog) |