| line |
true |
false |
branch |
|
50
|
3 |
1 |
if ($conf{'departure_time'}) { } |
|
|
1 |
0 |
elsif ($conf{'arrival_time'}) { } |
|
65
|
2 |
2 |
unless ($time =~ / ^ [0-2]? \d : [0-5]? \d $ /x) |
|
95
|
0 |
4 |
if ($date eq "tomorrow") |
|
102
|
0 |
2 |
unless (defined $day and length $day and $day >= 1 and $day <= 31 and defined $month and length $month and $month >= 1 and $month <= 12) |
|
120
|
1 |
1 |
unless (defined $year and length $year) |
|
141
|
5 |
67 |
if ($exclude_type eq $mapping[$map_id]) |
|
146
|
1 |
5 |
unless ($ok) |
|
177
|
1 |
3 |
if ($prefer eq 'speed') { } |
|
|
1 |
2 |
elsif ($prefer eq 'waittime') { } |
|
|
1 |
1 |
elsif ($prefer eq 'distance') { } |
|
198
|
1 |
3 |
if ($include eq 'local') { } |
|
|
1 |
2 |
elsif ($include eq 'ic') { } |
|
|
1 |
1 |
elsif ($include eq 'ice') { } |
|
215
|
1 |
0 |
if ($duration) { } |
|
230
|
1 |
1 |
if ($walk_speed =~ / ^ (?: normal | fast | slow ) $ /x) { } |
|
295
|
0 |
55 |
unless ($place and $stop) |
|
306
|
55 |
0 |
if ($type =~ / ^ (?: address | poi | stop ) $ /x) |
|
394
|
1 |
26 |
if ($conf->{'via'}) |
|
397
|
4 |
23 |
if ($conf->{'arrival_time'} or $conf->{'departure_time'}) |
|
400
|
4 |
21 |
if ($conf->{'date'}) |
|
403
|
3 |
20 |
if ($conf->{'exclude'}) |
|
406
|
1 |
21 |
if ($conf->{'max_interchanges'}) |
|
409
|
0 |
22 |
if ($conf->{'num_results'}) |
|
412
|
4 |
18 |
if ($conf->{'select_interchange_by'}) |
|
415
|
1 |
20 |
if ($conf->{'use_near_stops'}) |
|
418
|
4 |
17 |
if ($conf->{'train_type'}) |
|
421
|
2 |
18 |
if ($conf->{'walk_speed'}) |
|
424
|
1 |
18 |
if ($conf->{'with_bike'}) |
|
427
|
0 |
19 |
if ($conf->{'with_low_platform'}) |
|
430
|
0 |
19 |
if ($conf->{'with_wheelchair'}) |
|
433
|
0 |
19 |
if ($conf->{'without_solid_stairs'}) |
|
436
|
0 |
19 |
if ($conf->{'without_escalators'}) |
|
439
|
0 |
19 |
if ($conf->{'without_elevators'}) |
|
459
|
0 |
27 |
unless ($ref->{'config'}{'efa_url'}) |
|
475
|
0 |
19 |
unless (defined $conf{'submit'} and $conf{'submit'} == 0) |
|
514
|
0 |
0 |
if ($response->is_error) |
|
623
|
4 |
0 |
if ($e_fare) |
|
660
|
5 |
5 |
$e_delay ? : |
|
664
|
10 |
0 |
if ($self->{'config'}{'rm_base'}) |
|
669
|
10 |
0 |
if ($self->{'config'}{'sm_base'}) |
|
695
|
5 |
5 |
if ($e_fp) |
|
720
|
10 |
52 |
if (not $e_vdate && $e_vtime or $e_vdate->getAttribute("weekday") == -1) |
|
729
|
18 |
34 |
if ($name eq $hash->{'departure_stop'} or $name eq $hash->{'arrival_stop'}) |
|
768
|
0 |
1 |
if ($self->{'config'}{'developer_mode'}) |
|
783
|
0 |
1 |
if ($err) |
|
792
|
0 |
1 |
if (not defined $self->{'routes'} or @{$self->{'routes'};} == 0) |
|
813
|
0 |
3 |
unless ($e_place and $e_name) |
|
821
|
0 |
3 |
if ($s_place eq "list") |
|
831
|
0 |
3 |
if ($s_name eq "list") |
|
841
|
0 |
3 |
if ($s_place eq "notidentified") |
|
848
|
0 |
3 |
if ($s_name eq "notidentified") |