| blib/lib/Travel/Status/DE/IRIS.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 30 | 67 | 44.7 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 55 | 0 | 0 | 0 | @candidates != 1 and $opt{'station'} =~ /^\d+$/u |
| 86 | 0 | 0 | 0 | @queue and $iter_depth < 12 |
| 0 | 0 | 0 | @queue and $iter_depth < 12 and $opt{'with_related'} | |
| 302 | 1101 | 12 | 12 | $_->transfer && $_->departure |
| 478 | 10 | 0 | 12 | @queue and $iter_depth < 12 |
| 558 | 10 | 0 | 0 | $opt{'recursive'} and defined $station_node->getAttribute("meta") |
| 562 | 0 | 0 | 0 | &none(sub { |
| 711 | 26 | 0 | 0 | $self->{'developer_mode'} and not scalar $xml->findnodes("/timetable/s") |
| 790 | 706 | 1720 | 121 | not $result and ($s->findnodes($self->{'xp_tl'}))[0] |
| 817 | 348 | 528 | 3069 | defined $value and $value > 1 |
| 876 | 0 | 3069 | defined $value and $value > 1 and $value < 100 |
| line | l | !l | condition |
|---|---|---|---|
| 89 | 0 | 0 | $opt{'meta'}{$eva} // [] |
| 158 | 0 | 0 | $self->{'warnstr'} //= "" |
| 201 | 12 | 0 | $opt{'iris_base'} // "https://iris.noncd.db.de/iris-tts/timetable" |
| 3 | 9 | $opt{'lookahead'} // 120 | |
| 0 | 12 | $opt{'lookbehind'} // 0 | |
| 227 | 0 | 12 | $opt{'lwp_options'} // {"timeout", 10} |
| 915 | 0 | 743 | $r->{'refs'} // [] |
| 946 | 28 | 0 | $self->{'results'} // [] |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 201 | 12 | 0 | 0 | $opt{'datetime'} // "DateTime"->now("time_zone", "Europe/Berlin") |
| 0 | 12 | 0 | $opt{'strptime_obj'} // "DateTime::Format::Strptime"->new("pattern", "%y%m%d%H%M", "time_zone", "Europe/Berlin") | |
| 316 | 922 | 191 | 0 | $_->departure // $_->arrival |
| 317 | 970 | 143 | 0 | $_->sched_arrival // $_->sched_departure |
| 1113 | 0 | 0 | ($_->sched_arrival // $_->sched_departure) // $_->arrival | |
| 143 | 0 | 0 | (($_->sched_arrival // $_->sched_departure) // $_->arrival) // $d |