Condition Coverage

blib/lib/Net/MyCommerce/API/Token.pm
Criterion Covered Total %
condition 6 13 46.1


and 3 conditions

line !l l&&!r l&&r condition
87 2 0 0 $$self{'token'}{'id'} and $$self{'token'}{'expires'} > time + 60

or 2 conditions

line l !l condition
47 0 2 $args{'prefix'} || '/api'
48 0 2 $args{'access'} || 'vendor'
66 0 2 $args{'host'} || 'https://api.mycommerce.com'
0 2 $args{'credentials'} || {}
129 2 0 $error ||= 'unknown error'