Condition Coverage

blib/lib/JSON/API.pm
Criterion Covered Total %
condition 11 13 84.6


and 3 conditions

line !l l&&!r l&&r condition
140 25 2 4 $ua_opts{'realm'} and $ua_opts{'user'}
27 1 3 $ua_opts{'realm'} and $ua_opts{'user'} and $ua_opts{'pass'}

or 2 conditions

line l !l condition
31 8 31 $2 || ''
72 16 2 $self->_decode($res->content) || {}

or 3 conditions

line l !l&&r !l&&!r condition
129 0 31 0 ref $class || $class