Branch Coverage

blib/lib/Finance/Nadex/Order.pm
Criterion Covered Total %
branch 10 24 41.6


line true false branch
11 1 0 if (exists $self->{'id'})
22 1 0 if (exists $self->{'bid'})
33 1 0 if (exists $self->{'contract'})
44 1 0 if (exists $self->{'direction'})
46 1 0 if $self->{'direction'} eq '+' or $self->{'direction'} eq 'buy'
48 0 0 if $self->{'direction'} eq '-' or $self->{'direction'} eq 'sell'
59 1 0 if (exists $self->{'epic'})
71 1 0 if (exists $self->{'offer'})
82 1 0 if (exists $self->{'price'})
94 1 0 if (exists $self->{'size'})
105 2 0 if (exists $hashref->{'market'} and exists $hashref->{'workingOrder'}) { }
0 0 elsif (exists $hashref->{'order'} and exists $hashref->{'instrument'} and $hashref->{'marketSnapshot'}) { }