Condition Coverage

blib/lib/EVDB/API.pm
Criterion Covered Total %
condition 10 32 31.2


and 3 conditions

line !l l&&!r l&&r condition
214 0 0 1 $$self{'parser'}->flavor eq 'rest' and not $force_array
377 2 0 1 $$self{$k} and not $$arg_present{$k}

or 2 conditions

line l !l condition
207 1 0 shift() || []

or 3 conditions

line l !l&&r !l&&!r condition
95 0 1 0 ref $thing || $thing
98 1 0 0 $params{'app_key'} || $params{'app_token'}
0 0 1 $params{'api_root'} || $default_api_server
107 0 1 0 $DEBUG ||= $params{'debug'}
108 0 1 0 $VERBOSE ||= $params{'verbose'}
114 0 0 1 $params{'flavor'} || $default_flavor
176 0 0 0 $args{'password_md5'} || md5_hex($args{'password'})
189 0 0 0 $$r{'user_key'} || $$r{'auth_token'}