line |
true |
false |
branch |
139
|
0 |
6 |
unless defined $options{'client_params'} |
142
|
0 |
6 |
unless ref $options{'client_params'} eq 'HASH' |
148
|
3 |
3 |
if (defined $version and $version eq '1.10') { } |
|
2 |
1 |
elsif (defined $version and $version eq '1.9') { } |
169
|
0 |
6 |
unless defined $idx_arr |
186
|
6 |
3 |
unless defined $idx_arr |
188
|
1 |
2 |
if ref $idx_arr ne 'ARRAY' |
247
|
0 |
3 |
unless %options |
249
|
1 |
2 |
if (defined $options{'by_idx'}) |
253
|
2 |
0 |
if (my $searches = $options{'by_name'}) |
256
|
2 |
0 |
if ref $searches ne 'ARRAY' |
261
|
0 |
2 |
if (defined $key) { } |
262
|
0 |
0 |
if ($$col{$key} eq $search_val) |
266
|
2 |
0 |
if ($$col{'name'} eq $search_val or $$col{'data'} eq $search_val) |
287
|
0 |
5 |
unless defined $idx |
304
|
2 |
0 |
unless defined $ar_idx |
306
|
0 |
0 |
unless ref $ar_idx eq 'ARRAY' |
333
|
1 |
4 |
unless (ref $self or defined $client_params) |
337
|
2 |
10 |
unless $client_params |
341
|
4 |
1 |
if (defined $$ref{'draw'} and defined $$ref{'start'} and defined $$ref{'length'}) |
346
|
3 |
0 |
if (defined $$ref{'sEcho'} and defined $$ref{'iDisplayStart'} and defined $$ref{'iDisplayLength'}) |
394
|
6 |
78 |
if $_ eq $name |
|
6 |
22 |
if (grep {$val =~ /^[0-9]+$/u if $_ eq $name;} keys %{$$vmap{'top'};}) { } |
|
2 |
20 |
elsif ($name eq 'sSearch') { } |
|
2 |
18 |
elsif ($name eq 'bRegex') { } |
|
14 |
4 |
elsif ($name =~ /^(?bSearchable|sSearch|bRegex|bSortable|iSortCol|sSortDir|mDataProp)_(?\d+)$/u) { } |
400
|
0 |
2 |
$val eq 'true' ? : |
406
|
10 |
4 |
if ($$map[0] eq 'columns') { } |
|
4 |
0 |
elsif ($$map[0] eq 'order') { } |
407
|
4 |
6 |
if (defined $sub_param2) { } |
414
|
2 |
4 |
if ($sub_param1 eq 'data') |
451
|
9 |
132 |
if $_ eq $name |
|
9 |
38 |
if grep {$val =~ /^[0-9]+$/u if $_ eq $name;} 'draw', 'start', 'length' |
453
|
32 |
15 |
if ($name =~ /^(?columns|order)\[(?[0-9]+)\]\[(?[^]]+)\](\[(?[^]]+)\])?$/u) { } |
|
6 |
9 |
elsif ($name =~ /^search\[(?regex|value)\]$/u) { } |
457
|
24 |
8 |
if ($param eq 'columns') { } |
|
8 |
0 |
elsif ($param eq 'order') { } |
458
|
8 |
16 |
if (defined $sub_param2) { } |
468
|
3 |
3 |
if ($sp eq 'regex') { } |
469
|
1 |
2 |
$val eq 'true' ? : |
498
|
34 |
12 |
if ($param eq 'columns') { } |
|
12 |
0 |
elsif ($param eq 'order') { } |
499
|
12 |
22 |
if ($sub1 eq 'orderable' or $sub1 eq 'searchable') { } |
|
6 |
26 |
elsif ($sub1 eq 'search' and $sub2 eq 'regex') { } |
500
|
10 |
2 |
lc $val eq 'true' ? : |
502
|
1 |
5 |
lc $val eq 'true' ? : |
505
|
0 |
6 |
if ($sub1 eq 'dir' and lc $val ne 'asc' and lc $val ne 'desc') |