line |
true |
false |
branch |
49
|
102 |
185 |
if (not ref $input) { } |
|
107 |
78 |
elsif (ref $input eq 'HASH') { } |
|
78 |
0 |
elsif (ref $input eq 'ARRAY') { } |
50
|
0 |
102 |
unless $self->_extract_any($input) |
53
|
206 |
436 |
if (defined $input->{$target}) |
56
|
0 |
206 |
unless $self->$method($input->{$target}) |
62
|
44 |
170 |
if (defined $input->{$target}) |
68
|
1 |
106 |
if (defined $input->{$target}) |
71
|
0 |
1 |
if (ref $input->{$target} ne "CODE") |
78
|
0 |
173 |
unless $self->_extract_any($item) |
84
|
84 |
203 |
unless defined $self->type |
87
|
175 |
112 |
if ($self->type eq 'text') { } |
93
|
146 |
141 |
if ($self->{'sort'} =~ /^(count|score|last)$/) { } |
122
|
129 |
120 |
if (defined $self->pos) { } |
|
2 |
118 |
elsif (defined $self->key) { } |
|
15 |
103 |
elsif ($self->type eq 'date') { } |
|
8 |
95 |
elsif ($self->type eq 'number') { } |
124
|
0 |
129 |
unless my $array = $record->array |
128
|
0 |
2 |
unless my $hash = $record->hash |
133
|
1 |
7 |
unless my $array = $record->array |
139
|
1 |
247 |
unless defined $result |
141
|
15 |
232 |
if ($self->type eq "date") |
142
|
15 |
0 |
&looks_like_number($result) ? : |
143
|
0 |
15 |
unless defined $result |
148
|
1 |
248 |
if ($self->convert) |
176
|
11 |
37 |
if ($sort eq "score") |
177
|
8 |
3 |
if ($subfield) { } |
186
|
28 |
20 |
if ($type ne 'number' and $sort eq 'value') { } |
187
|
26 |
2 |
if ($order eq 'asc') { } |
188
|
0 |
122 |
unless $Data::Freq::Field::a->[1] cmp $Data::Freq::Field::b->[1] |
190
|
0 |
6 |
unless $Data::Freq::Field::b->[1] cmp $Data::Freq::Field::a->[1] |
193
|
9 |
11 |
if ($order eq 'asc') { } |
194
|
0 |
24 |
unless $Data::Freq::Field::a->[1] <=> $Data::Freq::Field::b->[1] |
196
|
0 |
28 |
unless $Data::Freq::Field::b->[1] <=> $Data::Freq::Field::a->[1] |
202
|
22 |
26 |
if (defined $self->offset or defined $self->limit) |
203
|
13 |
9 |
defined $self->offset ? : |
204
|
13 |
9 |
defined $self->limit ? : |
269
|
275 |
479 |
if $self->$method($input) |
277
|
0 |
308 |
if ref $input |
279
|
91 |
217 |
if (not defined $input or $input eq '' or $input =~ /^texts?$/i) { } |
|
38 |
179 |
elsif ($input =~ /^num(ber)?s?$/i) { } |
|
3 |
176 |
elsif ($input =~ /\%/) { } |
|
6 |
170 |
elsif ($input =~ /^years?$/i) { } |
|
12 |
158 |
elsif ($input =~ /^month?s?$/i) { } |
|
39 |
119 |
elsif ($input =~ /^(date|day)s?$/i) { } |
|
4 |
115 |
elsif ($input =~ /^hours?$/i) { } |
|
4 |
111 |
elsif ($input =~ /^minutes?$/i) { } |
|
6 |
105 |
elsif ($input =~ /^(seconds?|time)?$/i) { } |
320
|
0 |
113 |
if not defined $input or ref $input or $input eq "" |
322
|
4 |
109 |
if ($input =~ /^uniq(ue)?$/) { } |
|
4 |
105 |
elsif ($input =~ /^max(imum)?$/) { } |
|
4 |
101 |
elsif ($input =~ /^min(imum)?$/) { } |
|
6 |
95 |
elsif ($input =~ /^av(g|e(rage)?)?$/) { } |
341
|
0 |
160 |
if not defined $input or ref $input or $input eq "" |
343
|
49 |
111 |
if ($input =~ /^values?$/i) { } |
|
25 |
86 |
elsif ($input =~ /^counts?$/i) { } |
|
17 |
69 |
elsif ($input =~ /^scores?$/i) { } |
|
21 |
48 |
elsif ($input =~ /^(first|occur(rence)?s?)$/i) { } |
|
15 |
33 |
elsif ($input =~ /^last$/i) { } |
365
|
0 |
83 |
if not defined $input or ref $input or $input eq "" |
367
|
55 |
28 |
if ($input =~ /^asc(end(ing)?)?$/i) { } |
|
28 |
0 |
elsif ($input =~ /^desc(end(ing)?)?$/i) { } |
380
|
6 |
281 |
unless defined $input |
382
|
11 |
270 |
if (ref $input eq 'ARRAY') { } |
|
30 |
240 |
elsif ($input =~ /^-?\d+$/) { } |
397
|
0 |
9 |
unless defined $input |
400
|
3 |
6 |
ref $input eq 'ARRAY' ? : |