Condition Coverage

blib/lib/Finance/Nadex.pm
Criterion Covered Total %
condition 27 63 42.8


and 3 conditions

line !l l&&!r l&&r condition
194 0 7 0 exists $epic_ref->{'instrument'} and exists $epic_ref->{'marketSnapshot'}
198 0 7 0 $epic_ref->{'instrument'}{'instrumentType'} and $epic_ref->{'instrument'}{'marketName'}
0 7 0 $epic_ref->{'instrument'}{'instrumentType'} and $epic_ref->{'instrument'}{'marketName'} and $epic_ref->{'instrument'}{'displayPrompt'}
322 0 1 1 exists $args{'period'} and $args{'period'} =~ /^event$/i
337 0 0 1 exists $args{'period'} and $args{'period'} =~ /^event$/i
537 2 3 0 exists $args{'instrument'} and $index_name{$args{'instrument'}}
572 2 0 0 $instrument->{'name'} eq 'Forex' and $args{'market'} eq '5 Minute Binaries'
575 2 0 0 $instrument->{'name'} eq 'Indices' and $args{'market'} eq '20 Minute Binaries'
675 25 0 0 exists $args{'platform'} and $args{'platform'} eq 'demo'
937 5 0 0 $1 != 0 and $1 != 25
5 0 0 $1 != 0 and $1 != 25 and $1 != 50
0 0 0 $1 != 0 and $1 != 25 and $1 != 50 and $1 != 75

or 2 conditions

line l !l condition
45 0 0 $self->{'balance'} || undef
884 4 13 $response->content || undef
913 12 0 $market_id || undef

or 3 conditions

line l !l&&r !l&&!r condition
322 2 0 2 exists $args{'time'} or exists $args{'period'} and $args{'period'} =~ /^event$/i
337 1 0 1 $args{'time'} or exists $args{'period'} and $args{'period'} =~ /^event$/i
587 0 0 2 $args{'market'} eq '5 Minute Binaries' or $args{'market'} eq '20 Minute Binaries'
641 13 0 0 exists $args{'username'} or exists $self->{'username'}
644 13 0 0 exists $args{'password'} or exists $self->{'password'}
899 12 0 2 not exists $args{'accept_match'} or $args{'accept_match'} == 0
905 1 1 0 $market->{'name'} =~ /$args{'name'}/ or $market->{'name'} eq $args{'name'}