Condition Coverage

lib/Finance/IG.pm
Criterion Covered Total %
condition 0 138 0.0


and 3 conditions

line !l l&&!r l&&r condition
1058 0 0 0 exists $Finance::IG::a->{$key} and exists $Finance::IG::b->{$key}
1065 0 0 0 $x1 eq $x1 + 0 and $x2 eq $x2 + 0
1191 0 0 0 defined $dealReference and length $dealReference > 5
1322 0 0 0 $ms ne 'TRADEABLE' and not $ignoretradeable
1352 0 0 0 defined $dealReference and length $dealReference > 5
1480 0 0 0 defined $resolution and 0 == grep({$resolution eq $_;} 'DAY', 'HOUR', 'HOUR_2', 'HOUR_3', 'HOUR_4', 'MINUTE', 'MINUTE_10', 'MINUTE_15', 'MINUTE_2', 'MINUTE_3', 'MINUTE_30', 'MINUTE_5', 'MONTH', 'SECOND', 'WEEK')
1739 0 0 0 $code == 403 and $retried < 4
2022 0 0 0 defined $up and ref $up eq ''
0 0 0 defined $up and ref $up eq '' and not defined $down
2024 0 0 0 defined $up and ref $up ne 'CODE'
2032 0 0 0 defined $up and $v1 > $up
2033 0 0 0 defined $down and $v1 < $down
2034 0 0 0 defined $up and $v1 > $up * 5
2035 0 0 0 defined $down and $v1 < 5 * $down
2039 0 0 0 defined $up and ref $up eq 'CODE'
2071 0 0 0 $self->col and defined $INC{'Term/Chrome.pm'}
2074 0 0 0 $self->col and defined $INC{'Term/Chrome.pm'}
2104 0 0 0 $self->col and defined $INC{'Term/Chrome.pm'}
2106 0 0 0 $self->col and defined $INC{'Term/Chrome.pm'}
2139 0 0 0 defined $item and $item ne ''
0 0 0 defined $item and $item ne '' and exists $position->{$item}
0 0 0 defined $item and $item ne '' and exists $position->{$item} and defined $position->{$item}
2144 0 0 0 $item eq 'dbid' and exists $INC{'Term/Chrome.pm'}
0 0 0 $item eq 'dbid' and exists $INC{'Term/Chrome.pm'} and $self->col
2162 0 0 0 $item eq 'dbid' and defined $INC{'Term/Chrome.pm'}
0 0 0 $item eq 'dbid' and defined $INC{'Term/Chrome.pm'} and $self->col
2194 0 0 0 $len and $len < length $s
0 0 0 $len and $len < length $s and $len >= 1
2200 0 0 0 $self->col and defined $INC{'Term/Chrome.pm'}

or 2 conditions

line l !l condition
236 0 0 $client->responseHeader('CST') // die('No CST header in login response')
237 0 0 $client->responseHeader('X-SECURITY-TOKEN') // die('No X-SECURITY-TOKEN in login response header')
296 0 0 $from //= ''
297 0 0 $to //= ''
380 0 0 $pageNumber //= ''
383 0 0 $from //= ''
384 0 0 $to //= ''
423 0 0 $pageSize //= ''
869 0 0 $totals{$position->{'instrumentName'}} ||= []
938 0 0 $sortlist //= ['-profitpc', 'instrumentName']
1014 0 0 $sortlist //= ['-profitpc', 'instrumentName']
1446 0 0 $pagesize //= 1
1948 0 0 $position->{'marketStatus'} //= ''
2134 0 0 $1 // ''
2200 0 0 &$colsub($position) // ''

or 3 conditions

line l !l&&r !l&&!r condition
890 0 0 0 $position->{'instrumentName'} //= $subtotal->{'instrumentName'}
898 0 0 0 $position->{'bid'} //= $subtotal->{'bid'}
900 0 0 0 $position->{'epic'} //= $subtotal->{'epic'}
902 0 0 0 $position->{'currency'} //= $subtotal->{'currency'}
903 0 0 0 $position->{'marketStatus'} //= $subtotal->{'marketStatus'}
2079 0 0 0 not defined $position or $position eq ''
2161 0 0 0 $self->fetch($position, $item) // $self->uds