Branch Coverage

blib/lib/WebService/Cryptsy.pm
Criterion Covered Total %
branch 17 24 70.8


line true false branch
121 2 1 defined $currency_id ? :
2 1 defined $currency_code ? :
133 0 21 unless ($json)
141 0 21 if ($@)
146 2 19 unless ($decoded and $$decoded{'success'})
147 2 0 $decoded && $$decoded{'error'} ? :
156 2 0 if not defined $$decoded{'return'} and $method eq 'mytransactions' || $method eq 'cancelmarketorders' || $method eq 'cancelallorders'
164 0 19 if ($method eq 'cancelorder')
168 0 19 unless ($$decoded{'return'})
186 3 18 if ($get_methods{$method}) { }
188 2 1 $method =~ /^single(market|order)data$/ ? :
212 0 21 unless ($res->is_success)