line |
true |
false |
branch |
38
|
0 |
1 |
if ($^O eq 'MSWin32') { } |
145
|
0 |
0 |
unless (defined $$self{'debug'}) |
149
|
0 |
0 |
unless (defined $$self{'ClientID'} and defined $$self{'ClientSecret'} and defined $$self{'PIN_code'} and defined $$self{'auth_token'}) |
191
|
0 |
0 |
if ($response->is_success) { } |
192
|
0 |
0 |
if ($response->content =~ /\"access_token\":\"(.*?)\"/) { } |
231
|
0 |
0 |
if ($response->is_success) { } |
237
|
0 |
0 |
if $$self{'debug'} |
243
|
0 |
0 |
if ($response->is_success) { } |
248
|
0 |
0 |
if $$self{'debug'} |
279
|
0 |
0 |
unless (defined $$self{'thermostat'}) |
304
|
0 |
0 |
unless (defined $$self{'thermostat'}) |
329
|
0 |
0 |
unless (defined $$self{'thermostat'}) |
354
|
0 |
0 |
unless (defined $$self{'thermostat'}) |
379
|
0 |
0 |
unless (defined $$self{'thermostat'}) |
404
|
0 |
0 |
unless (defined $$self{'thermostat'}) |
429
|
0 |
0 |
unless (defined $$self{'thermostat'}) |
454
|
0 |
0 |
unless (defined $$self{'thermostat'}) |
479
|
0 |
0 |
unless (defined $$self{'thermostat'}) |
504
|
0 |
0 |
unless (defined $$self{'thermostat'}) |
529
|
0 |
0 |
unless (defined $$self{'thermostat'}) |
554
|
0 |
0 |
unless (defined $$self{'thermostat'}) |
580
|
0 |
0 |
unless (defined $$self{'thermostat'}) |
631
|
0 |
0 |
unless (defined $$self{'thermostat'}) |
636
|
0 |
0 |
if ($self->__process_get($$self{'device_url'}, 'is_using_emergency_heat')) { } |
660
|
0 |
0 |
unless (defined $$self{'thermostat'}) |
665
|
0 |
0 |
if ($self->__process_get($$self{'device_url'}, 'is_online')) { } |
689
|
0 |
0 |
unless (defined $$self{'thermostat'}) |
694
|
0 |
0 |
if ($self->__process_get($$self{'device_url'}, 'can_heat')) { } |
718
|
0 |
0 |
unless (defined $$self{'thermostat'}) |
723
|
0 |
0 |
if ($self->__process_get($$self{'device_url'}, 'can_cool')) { } |
747
|
0 |
0 |
unless (defined $$self{'thermostat'}) |
752
|
0 |
0 |
if ($self->__process_get($$self{'device_url'}, 'has_fan')) { } |
777
|
0 |
0 |
unless (defined $$self{'thermostat'}) |
786
|
0 |
0 |
if ($response->is_success) { } |
813
|
0 |
0 |
unless (defined $$self{'thermostat'}) |
822
|
0 |
0 |
if ($response->is_success) { } |
849
|
0 |
0 |
unless (defined $$self{'thermostat'}) |
874
|
0 |
0 |
unless (defined $$self{'thermostat'}) |
900
|
0 |
0 |
unless (defined $$self{'thermostat'}) |
926
|
0 |
0 |
unless (defined $$self{'thermostat'}) |
952
|
0 |
0 |
unless (defined $$self{'thermostat'}) |
980
|
0 |
0 |
unless (defined $$self{'thermostat'}) |
984
|
0 |
0 |
unless (defined $temperature) |
1012
|
0 |
0 |
unless (defined $$self{'thermostat'}) |
1016
|
0 |
0 |
unless (defined $temperature) |
1044
|
0 |
0 |
unless (defined $$self{'thermostat'}) |
1048
|
0 |
0 |
unless (defined $temperature) |
1076
|
0 |
0 |
unless (defined $$self{'thermostat'}) |
1080
|
0 |
0 |
unless (defined $temperature) |
1108
|
0 |
0 |
unless (defined $$self{'thermostat'}) |
1112
|
0 |
0 |
unless (defined $temperature) |
1140
|
0 |
0 |
unless (defined $$self{'thermostat'}) |
1144
|
0 |
0 |
unless (defined $temperature) |
1172
|
0 |
0 |
unless (defined $$self{'thermostat'}) |
1176
|
0 |
0 |
unless (defined $state) |
1190
|
0 |
0 |
if ($response->is_success) { } |
1334
|
0 |
0 |
if ($response->is_success) { } |
1359
|
0 |
0 |
if ($response->is_success) { } |