Branch Coverage

blib/lib/Net/MyCommerce/API/Token.pm
Criterion Covered Total %
branch 5 12 41.6


line true false branch
51 0 2 if ($access eq 'affiliate') { }
0 2 elsif ($access ne 'vendor') { }
59 0 2 $access eq 'affiliate' ? :
87 0 2 if ($$self{'token'}{'id'} and $$self{'token'}{'expires'} > time + 60)
91 2 0 if ($error) { }
0 0 elsif ($$result{'content'}{'access_token'}) { }