Branch Coverage

lib/Finance/GDAX/API/Order.pm
Criterion Covered Total %
branch 0 38 0.0


line true false branch
80 0 0 unless $self->side
81 0 0 unless $self->product_id
82 0 0 if ($self->type eq 'limit')
83 0 0 unless $self->price
84 0 0 unless $self->size
85 0 0 if ($self->cancel_after)
86 0 0 unless ($self->time_in_force eq 'GTT')
90 0 0 if ($self->post_only)
91 0 0 if ($self->time_in_force =~ /^(IOC|FOK)$/u)
96 0 0 if ($self->type =~ /^(market|stop)$/u)
97 0 0 unless ($self->size or $self->funds)
102 0 0 if defined $self->$_
111 0 0 unless $order_id
120 0 0 if $product_id
130 0 0 if ($status)
131 0 0 if (ref $status ne 'ARRAY')
136 0 0 if $product_id
137 0 0 if (scalar @qparams)
147 0 0 unless $order_id