line |
true |
false |
branch |
163
|
34 |
6 |
if exists $args{'item'} |
164
|
6 |
34 |
if exists $args{'items'} |
167
|
38 |
2 |
if exists $args{'array'} |
168
|
2 |
38 |
if exists $args{'arrays'} |
176
|
0 |
40 |
if defined $ws and $ws eq '' |
177
|
4 |
36 |
if defined $ws and $ci |
178
|
11 |
29 |
defined $ws ? : |
193
|
10 |
34 |
$ci ? : |
194
|
2 |
42 |
if ($mode eq 'regex') |
195
|
1 |
1 |
if ref $item ne 'Regexp' |
196
|
1 |
1 |
$ci ? : |
198
|
43 |
1 |
defined $item ? : |
204
|
10 |
499 |
if $matched_els[$ia] and $matched_els[$ia][$iel] |
207
|
138 |
361 |
$ci ? : |
210
|
2 |
497 |
if (not defined $el) { } |
|
2 |
495 |
elsif (not defined $item) { } |
|
69 |
426 |
elsif ($mode eq 'exact') { } |
|
6 |
420 |
elsif ($mode eq 'regex') { } |
221
|
241 |
179 |
if ($mode_prefix) |
223
|
150 |
91 |
if ($idx >= 0) |
224
|
96 |
54 |
if (defined $ws) { } |
239
|
157 |
263 |
if ($mode_infix and not $match) |
241
|
85 |
72 |
if ($idx >= 0) |
242
|
74 |
11 |
if (defined $ws) { } |
253
|
9 |
2 |
unless ($match) |
254
|
7 |
2 |
if ($idx == 0) { } |
270
|
184 |
236 |
if ($mode_suffix and not $match) |
272
|
95 |
89 |
if ($idx >= 0) |
273
|
79 |
16 |
if (defined $ws) { } |
290
|
149 |
350 |
if ($match) |
291
|
143 |
6 |
unless ($unique and $res{$el}) |
294
|
13 |
136 |
if $unique |
298
|
12 |
487 |
if (defined $max_compare and $max_compare != 0) |
299
|
2 |
10 |
if $num_compare >= $max_compare |
301
|
147 |
350 |
if ($match) |
302
|
10 |
137 |
if (defined $max_result and $max_result != 0) |
303
|
2 |
8 |
if ($max_result > 0) { } |
304
|
2 |
0 |
if @res >= $max_result |
308
|
2 |
6 |
if scalar keys %found_items >= -$max_result |
317
|
2 |
38 |
if ($args{'shuffle'}) |