Condition Coverage

blib/lib/Device/WallyHome/Role/REST.pm
Criterion Covered Total %
condition 6 14 42.8


and 3 conditions

line !l l&&!r l&&r condition
109 0 0 2 ref $params and ref $params eq 'HASH'

or 2 conditions

line l !l condition
107 2 0 $params //= {}
111 2 0 $params->{'uri'} // die('uri required')
113 0 2 $params->{'content'} // undef
115 0 2 $params->{'method'} // 'GET'

or 3 conditions

line l !l&&r !l&&!r condition
114 0 2 0 $params->{'headers'} // $self->headers