Condition Coverage

blib/lib/Finance/QuoteOptions.pm
Criterion Covered Total %
condition 0 92 0.0


and 3 conditions

line !l l&&!r l&&r condition
95 0 0 0 length $exp < 4 and $exp > $#{$$self{'data'};}
97 0 0 0 length $exp > 3 and not length($exp) =~ /^[68]$/
103 0 0 0 length $exp == 6 and $exp == substr($$_{'exp'}, 0, 6)
104 0 0 0 length $exp == 8 and $exp == $$_{'exp'}
115 0 0 0 length $exp < 4 and $exp > $#{$$self{'data'};}
116 0 0 0 length $exp > 3 and not length($exp) =~ /^[68]$/
121 0 0 0 length $exp == 6 and $exp == substr($$_{'exp'}, 0, 6)
122 0 0 0 length $exp == 8 and $exp == $$_{'exp'}
132 0 0 0 defined $exp and $exp <= $#{$self->data;}
145 0 0 0 defined $exp and $exp <= $#{$self->data;}
158 0 0 0 defined $exp and $exp <= $#{$self->data;}
171 0 0 0 defined $exp and $exp <= $#{$self->data;}
288 0 0 0 $response && $response->is_success
331 0 0 0 @optmonths and $expirations
405 0 0 0 $tag =~ m[/table]i and $mode =~ /gputdata/
411 0 0 0 ref $$tag[1] && exists $$tag[1]{'class'} && $$tag[1]{'class'} eq 'yfnc_h'
421 0 0 0 $mode =~ /start|gcalldata/ and $text =~ /call options|put options/i
0 0 0 $mode eq 'gcallheaders' and not @callheaders
0 0 0 $mode eq 'gputheaders' and not @putheaders
0 0 0 $mode eq 'gcallheaders' and @callheaders
0 0 0 $mode eq 'gputheaders' and @putheaders
465 0 0 0 $text and not $expdate
686 0 0 0 $mode eq 'start' and $text =~ /(\d{2} \w{3}) (\d{1,5}\.\d{2}) \((\w{1,4}) (\w{2})-(\w)\)/
0 0 0 $mode eq 'call' and $text =~ /(\d{2} \w{3}) (\d{1,5}\.\d{2}) \((\w{1,4}) (\w{2})-\w\)/

or 2 conditions

line l !l condition
274 0 0 shift() || -1

or 3 conditions

line l !l&&r !l&&!r condition
93 0 0 0 not defined $exp or $exp < 0
114 0 0 0 not defined $exp or $exp < 0
402 0 0 0 $tag =~ m[/html]i or not $tag
421 0 0 0 $mode eq 'gcallheaders' and not @callheaders or $mode eq 'gputheaders' and not @putheaders
0 0 0 $mode eq 'gcalldata' or $mode eq 'gcallheaders' and @callheaders
0 0 0 $mode eq 'gputdata' or $mode eq 'gputheaders' and @putheaders