Condition Coverage

blib/lib/Travel/Status/DE/IRIS.pm
Criterion Covered Total %
condition 30 67 44.7


and 3 conditions

line !l l&&!r l&&r condition
57 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'}
299 1101 12 12 $_->transfer && $_->departure
474 10 0 12 @queue and $iter_depth < 12
554 10 0 0 $opt{'recursive'} and defined $station_node->getAttribute("meta")
702 26 0 0 $self->{'developer_mode'} and not scalar $xml->findnodes("/timetable/s")
781 706 1720 121 not $result and ($s->findnodes($self->{'xp_tl'}))[0]
808 348 528 3069 defined $value and $value > 1
876 0 3069 defined $value and $value > 1 and $value < 100

or 2 conditions

line l !l condition
89 0 0 $opt{'meta'}{$eva} // []
155 0 0 $self->{'warnstr'} //= ""
198 12 0 $opt{'iris_base'} // "https://iris.noncd.db.de/iris-tts/timetable"
3 9 $opt{'lookahead'} // 120
0 12 $opt{'lookbehind'} // 0
224 0 12 $opt{'lwp_options'} // {"timeout", 10}
906 0 743 $r->{'refs'} // []
937 28 0 $self->{'results'} // []

or 3 conditions

line l !l&&r !l&&!r condition
198 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")
313 922 191 0 $_->departure // $_->arrival
314 970 143 0 $_->sched_arrival // $_->sched_departure
1113 0 0 ($_->sched_arrival // $_->sched_departure) // $_->arrival
143 0 0 (($_->sched_arrival // $_->sched_departure) // $_->arrival) // $d
557 0 0 0 $_ ~~ \@seen || $_ ~~ \@queue