Condition Coverage

blib/lib/Finance/Nadex.pm
Criterion Covered Total %
condition 28 63 44.4


and 3 conditions

line !l l&&!r l&&r condition
194 0 0 7 exists $epic_ref->{'instrument'} and exists $epic_ref->{'marketSnapshot'}
198 0 0 7 $epic_ref->{'instrument'}{'instrumentType'} and $epic_ref->{'instrument'}{'marketName'}
0 0 7 $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
492 2 2 0 exists $args{'instrument'} and $index_name{$args{'instrument'}}
527 1 0 0 $instrument->{'name'} eq "Forex" and $args{'market'} eq "5 Minute Binaries"
530 1 0 0 $instrument->{'name'} eq "Indices" and $args{'market'} eq "20 Minute Binaries"
630 23 0 0 exists $args{'platform'} and $args{'platform'} eq "demo"
869 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
816 4 12 $response->content || undef
845 9 0 $market_id || undef

or 3 conditions

line l !l&&r !l&&!r condition
322 2 1 1 exists $args{'time'} or exists $args{'period'} and $args{'period'} =~ /^event$/i
337 1 1 0 $args{'time'} or exists $args{'period'} and $args{'period'} =~ /^event$/i
542 0 0 1 $args{'market'} eq "5 Minute Binaries" or $args{'market'} eq "20 Minute Binaries"
596 12 0 0 exists $args{'username'} or exists $self->{'username'}
599 12 0 0 exists $args{'password'} or exists $self->{'password'}
831 9 0 2 not exists $args{'accept_match'} or $args{'accept_match'} == 0
837 1 1 0 $market->{'name'} =~ /$args{'name'}/ or $market->{'name'} eq $args{'name'}