Condition Coverage

blib/lib/Net/MyCommerce/API/Resource.pm
Criterion Covered Total %
condition 3 15 20.0


and 3 conditions

line !l l&&!r l&&r condition
87 0 0 0 $$result{'content'}{'error'} and $$result{'content'}{'error'} eq 'invalid_token'

or 2 conditions

line l !l condition
48 0 1 $args{'host'} || 'http://api.mycommerce.com'
0 1 $args{'prefix'} || '/api/v1'
0 1 $args{'timeout'} || 60
84 0 0 $result ||= {}
85 0 0 $$result{'content'} ||= {}
86 0 0 $$result{'status_code'} ||= 0