line |
true |
false |
branch |
174
|
34 |
6 |
if exists $args{'item'} |
175
|
6 |
34 |
if exists $args{'items'} |
178
|
38 |
2 |
if exists $args{'array'} |
179
|
2 |
38 |
if exists $args{'arrays'} |
187
|
0 |
40 |
if defined $ws and $ws eq '' |
188
|
4 |
36 |
if defined $ws and $ci |
189
|
11 |
29 |
defined $ws ? : |
204
|
10 |
34 |
$ci ? : |
205
|
2 |
42 |
if ($mode eq 'regex') |
206
|
1 |
1 |
if ref $item ne 'Regexp' |
207
|
1 |
1 |
$ci ? : |
209
|
43 |
1 |
defined $item ? : |
215
|
10 |
277 |
if $matched_els[$ia] and $matched_els[$ia][$iel] |
218
|
138 |
361 |
$ci ? : |
221
|
2 |
497 |
if (not defined $el) { } |
|
2 |
495 |
elsif (not defined $item) { } |
|
69 |
426 |
elsif ($mode eq 'exact') { } |
|
6 |
420 |
elsif ($mode eq 'regex') { } |
232
|
241 |
179 |
if ($mode_prefix) |
234
|
150 |
91 |
if ($idx >= 0) |
235
|
96 |
54 |
if (defined $ws) { } |
250
|
157 |
263 |
if ($mode_infix and not $match) |
252
|
85 |
72 |
if ($idx >= 0) |
253
|
74 |
11 |
if (defined $ws) { } |
264
|
9 |
2 |
unless ($match) |
265
|
7 |
2 |
if ($idx == 0) { } |
281
|
184 |
236 |
if ($mode_suffix and not $match) |
283
|
95 |
89 |
if ($idx >= 0) |
284
|
79 |
16 |
if (defined $ws) { } |
301
|
149 |
350 |
if ($match) |
302
|
143 |
6 |
unless ($unique and $res{$el}) |
305
|
13 |
136 |
if $unique |
309
|
12 |
487 |
if (defined $max_compare and $max_compare != 0) |
310
|
2 |
10 |
if $num_compare >= $max_compare |
312
|
147 |
350 |
if ($match) |
313
|
10 |
137 |
if (defined $max_result and $max_result != 0) |
314
|
2 |
8 |
if ($max_result > 0) { } |
315
|
2 |
0 |
if @res >= $max_result |
319
|
2 |
6 |
if scalar keys %found_items >= -$max_result |
328
|
2 |
38 |
if ($args{'shuffle'}) |