| line |
true |
false |
branch |
|
26
|
0 |
47 |
if ($@)
|
|
37
|
0 |
0 |
unless ($opt{'station'})
|
|
45
|
0 |
0 |
if (60 - $self->{'datetime'}->minute < $self->{'lookahead'} % 60)
|
|
49
|
0 |
0 |
if ($self->{'datetime'}->minute < $self->{'lookbehind'} % 60)
|
|
55
|
0 |
0 |
if (@candidates != 1 and $opt{'station'} =~ /^\d+$/u)
|
|
64
|
0 |
0 |
if (@candidates == 0)
|
|
67
|
0 |
0 |
if (@candidates >= 2)
|
|
90
|
0 |
0 |
unless ($seen{$ref})
|
|
101
|
0 |
0 |
if (@candidates == 1)
|
|
157
|
0 |
0 |
if ($realtime_result->{'status'} eq "rejected")
|
|
182
|
1 |
12 |
unless ($opt{'station'})
|
|
214
|
0 |
12 |
if (60 - $self->{'datetime'}->minute < $self->{'lookahead'} % 60)
|
|
218
|
0 |
12 |
if ($self->{'datetime'}->minute < $self->{'lookbehind'} % 60)
|
|
222
|
0 |
12 |
if ($opt{'async'})
|
|
226
|
12 |
0 |
unless ($self->{'user_agent'})
|
|
262
|
0 |
0 |
unless ($ref_status->errstr)
|
|
267
|
2 |
10 |
if ($self->{'errstr'})
|
|
292
|
10 |
0 |
unless ($self->{'keep_transfers'})
|
|
300
|
24 |
1101 |
if $_->transfer
|
|
307
|
79 |
663 |
if $_->transfer
|
|
309
|
10 |
2 |
if ($result)
|
|
321
|
1069 |
44 |
if not $d->is_negative
|
|
337
|
0 |
0 |
if ($self->{'developer_mode'})
|
|
343
|
0 |
0 |
if ($cache)
|
|
345
|
0 |
0 |
if ($content)
|
|
346
|
0 |
0 |
if ($self->{'developer_mode'})
|
|
353
|
0 |
0 |
if ($self->{'developer_mode'})
|
|
360
|
0 |
0 |
if (my $err = $tx->error)
|
|
366
|
0 |
0 |
if ($cache)
|
|
386
|
0 |
52 |
if ($self->{'developer_mode'})
|
|
390
|
0 |
52 |
if ($cache)
|
|
392
|
0 |
0 |
if ($content)
|
|
393
|
0 |
0 |
if ($self->{'developer_mode'})
|
|
400
|
0 |
52 |
if ($self->{'developer_mode'})
|
|
407
|
5 |
47 |
if ($res->is_error)
|
|
412
|
0 |
47 |
if ($cache)
|
|
430
|
0 |
0 |
if ($xml_err)
|
|
436
|
0 |
0 |
unless ($station_node)
|
|
485
|
1 |
11 |
if ($err)
|
|
486
|
1 |
0 |
if ($opt{'root'}) { }
|
|
498
|
0 |
11 |
if ($xml_err)
|
|
505
|
1 |
10 |
unless ($station_node)
|
|
506
|
0 |
1 |
if ($self->{'developer_mode'})
|
|
509
|
1 |
0 |
if ($opt{'root'}) { }
|
|
524
|
0 |
10 |
if ($station_node->getAttribute("name") =~ / ZOB/u)
|
|
531
|
0 |
10 |
if ($station_node->getAttribute("ds100") =~ / ^ D \d+ $ /ux)
|
|
554
|
0 |
10 |
if ($self->{'developer_mode'})
|
|
558
|
0 |
10 |
if ($opt{'recursive'} and defined $station_node->getAttribute("meta"))
|
|
562
|
0 |
0 |
if (&none(sub {
|
|
571
|
0 |
10 |
if (@queue)
|
|
589
|
0 |
1140 |
unless ($e_tl)
|
|
607
|
985 |
155 |
if ($e_ar)
|
|
618
|
939 |
201 |
if ($e_dp)
|
|
629
|
20 |
1120 |
if ($data{'arrival_wing_ids'})
|
|
632
|
13 |
1127 |
if ($data{'departure_wing_ids'})
|
|
642
|
1125 |
15 |
unless ($self->{'departure_by_id'}{$id})
|
|
660
|
0 |
0 |
if ($xml_err)
|
|
692
|
4 |
26 |
if ($err)
|
|
699
|
0 |
26 |
if ($xml_err)
|
|
711
|
0 |
26 |
if ($self->{'developer_mode'} and not scalar $xml->findnodes("/timetable/s"))
|
|
730
|
0 |
0 |
if ($xml_err)
|
|
758
|
0 |
10 |
if ($err)
|
|
765
|
0 |
10 |
if ($xml_err)
|
|
790
|
121 |
2426 |
if (not $result and ($s->findnodes($self->{'xp_tl'}))[0])
|
|
792
|
121 |
0 |
if ($result)
|
|
796
|
1720 |
827 |
unless ($result)
|
|
800
|
827 |
0 |
unless ($self->{'serializable'})
|
|
817
|
3069 |
528 |
if (defined $value and $value > 1 and $value < 100)
|
|
841
|
760 |
67 |
if ($e_ar)
|
|
855
|
686 |
141 |
if ($e_dp)
|
|
882
|
0 |
0 |
if $_->type eq $type
|
|
891
|
7 |
736 |
if ($r->{'departure_wing_ids'})
|
|
894
|
8 |
0 |
if ($wingref)
|
|
899
|
13 |
730 |
if ($r->{'arrival_wing_ids'})
|
|
902
|
14 |
0 |
if ($wingref)
|
|
918
|
0 |
0 |
if ($ref)
|