| line |
true |
false |
branch |
|
17
|
11 |
42 |
if (@_ == 1) |
|
44
|
29 |
24 |
if ($$self{'date'}) |
|
45
|
9 |
20 |
if ($$self{'date'} =~ /^([0-9]{4})-([0-9]{2})-([0-9]{2})$/) { } |
|
|
1 |
19 |
elsif ($$self{'date'} =~ /^([0-9]{4})-([0-9]{2})-([0-9]{2}) ([0-9]{2}):([0-9]{2}):([0-9]{2})$/) { } |
|
|
1 |
18 |
elsif ($$self{'date'} =~ /^([0-9]{4})$/) { } |
|
|
1 |
17 |
elsif ($$self{'date'} =~ /^([0-9]{4})([0-9]{2})$/) { } |
|
|
1 |
16 |
elsif ($$self{'date'} =~ /^([0-9]{4})([0-9]{2})([0-9]{2})$/) { } |
|
|
1 |
15 |
elsif ($$self{'date'} =~ /^([0-9]{4})([0-9]{2})([0-9]{2})([0-9]{2})$/) { } |
|
|
2 |
13 |
elsif ($$self{'date'} =~ /^([0-9]{4})([0-9]{2})([0-9]{2})([0-9]{2})([0-9]{2})$/) { } |
|
|
11 |
2 |
elsif ($$self{'date'} =~ /^([0-9]{4})([0-9]{2})([0-9]{2})([0-9]{2})([0-9]{2})([0-9]{2})$/) { } |
|
|
1 |
1 |
elsif ($$self{'date'} =~ /^([0-9]{2}):([0-9]{2}):([0-9]{2})$/) { } |
|
147
|
1 |
26 |
if (defined $$self{'empty_first'}) |
|
156
|
21 |
1263 |
if (not $$self{'no_select'} and grep {$_ == $item;} @$select) |
|
162
|
2 |
23 |
if ($$self{'html'}) |
|
177
|
1 |
26 |
if (defined $$self{'empty_first'}) |
|
186
|
21 |
1263 |
if (not $$self{'no_select'} and grep {$_ == $item;} @$select) |
|
192
|
2 |
23 |
if ($$self{'html'}) |
|
207
|
1 |
25 |
if (defined $$self{'empty_first'}) |
|
216
|
26 |
598 |
if (not $$self{'no_select'} and grep {$_ == $item;} @$select) |
|
222
|
2 |
24 |
if ($$self{'html'}) |
|
237
|
1 |
26 |
if (defined $$self{'empty_first'}) |
|
246
|
26 |
811 |
if (not $$self{'no_select'} and grep {$_ == $item;} @$select) |
|
252
|
1 |
26 |
if ($$self{'html'}) |
|
268
|
9 |
33 |
if ($$self{'locale'}) |
|
274
|
5 |
37 |
if ($$self{'month_format'} eq 'decimal') { } |
|
|
3 |
34 |
elsif ($$self{'month_format'} eq 'short') { } |
|
278
|
2 |
1 |
if ($$self{'locale'}) { } |
|
286
|
4 |
30 |
if ($$self{'locale'}) { } |
|
296
|
1 |
41 |
if (defined $$self{'empty_first'}) |
|
305
|
42 |
462 |
if (not $$self{'no_select'} and grep {$_ == $item;} @$select) |
|
311
|
0 |
42 |
if ($$self{'html'}) |
|
324
|
40 |
4 |
@$select == 1 ? : |
|
326
|
0 |
44 |
unless $select > 0 |
|
330
|
16 |
28 |
if (defined $$self{'start_year'}) { } |
|
334
|
3 |
25 |
unless $single |
|
341
|
2 |
39 |
if grep {$_ < $start;} @$select |
|
343
|
2 |
37 |
unless $start > 0 |
|
345
|
15 |
22 |
if (defined $$self{'end_year'}) { } |
|
348
|
2 |
13 |
if grep {$_ > $end;} @$select |
|
351
|
0 |
22 |
unless $single |
|
357
|
0 |
35 |
if $start > $end |
|
362
|
1 |
34 |
if (defined $$self{'empty_first'}) |
|
371
|
35 |
130 |
if (not $$self{'no_select'} and grep {$_ == $item;} @$select) |
|
377
|
0 |
35 |
if ($$self{'html'}) |
|
406
|
1 |
72 |
unless grep {$method eq $_;} @public_accessors |
|
408
|
40 |
32 |
if @_ |
|
410
|
71 |
1 |
if defined $$self{$method} |
|
424
|
1 |
193 |
if (scalar @_ == 2) { } |
|
|
64 |
129 |
elsif (scalar @_ == 1) { } |
|
428
|
2 |
62 |
if (ref $_[0] eq 'HASH') { } |
|
436
|
131 |
63 |
unless defined $i |
|
438
|
9 |
54 |
if (ref $i eq 'ARRAY') { } |
|
|
21 |
33 |
elsif ($i =~ /^\d+$/) { } |
|
|
16 |
17 |
elsif ($i =~ /^\+(\d+)$/) { } |
|
|
16 |
1 |
elsif ($i =~ /^\-(\d+)$/) { } |
|
463
|
4 |
50 |
unless $inc >= 1 and $inc <= 59 |
|
486
|
7 |
0 |
unless ($$self{'no_select'}) |
|
490
|
3 |
4 |
if (defined $html) |
|
495
|
5 |
2 |
if ($$self{'html'} eq 'menu') { } |
|
|
1 |
1 |
elsif ($$self{'html'} eq 'options') { } |