Condition Coverage

blib/lib/JSON/API.pm
Criterion Covered Total %
condition 10 16 62.5


and 3 conditions

line !l l&&!r l&&r condition
49 22 0 0 $apphdr and ref $apphdr
150 25 6 0 $ua_opts{'realm'} and $ua_opts{'user'}
2 4 0 $ua_opts{'realm'} and $ua_opts{'user'} and $ua_opts{'pass'}

or 2 conditions

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

or 3 conditions

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