blib/lib/Device/WallyHome/Role/Creator.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 11 | 27 | 40.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
43 | 0 | 8 | 2 | $self->does($restApiRole) and $class->does($restApiRole) |
line | l | !l | condition |
---|---|---|---|
25 | 10 | 0 | $params //= {} |
133 | 1 | 0 | $sensorData->{'thresholds'} // {} |
147 | 1 | 0 | $sensorData->{'state'} // {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
47 | 0 | 2 | 0 | $params->{'apiHostname'} //= $self->apiHostname |
48 | 0 | 2 | 0 | $params->{'apiUseHttps'} //= $self->apiUseHttps |
49 | 0 | 2 | 0 | $params->{'apiVersion'} //= $self->apiVersion |
50 | 0 | 0 | 2 | $params->{'lastApiError'} //= $self->lastApiError |
51 | 0 | 2 | 0 | $params->{'token'} //= $self->token |
52 | 0 | 2 | 0 | $params->{'timeout'} //= $self->timeout |