| blib/lib/Device/WallyHome/Role/REST.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 9 | 16 | 56.2 |
| line | true | false | branch |
|---|---|---|---|
| 89 | 2 | 0 | $self->apiUseHttps ? : |
| 109 | 0 | 2 | unless ref $params and ref $params eq 'HASH' |
| 121 | 2 | 0 | if (defined $self->_testModeIdentifier) { } |
| 136 | 0 | 2 | if ($@) |
| 148 | 0 | 2 | unless defined $self->_testModeIdentifier |
| 154 | 1 | 1 | if ($uri =~ /^places$/) { } |
| 1 | 0 | elsif ($uri =~ m[^places/[^/]+/sensors]) { } | |
| 164 | 0 | 2 | unless $testUtil->can($testResponseFunc) |