Condition Coverage

blib/lib/Travel/Status/DE/EFA/Departure.pm
Criterion Covered Total %
condition 10 50 20.0


and 3 conditions

line !l l&&!r l&&r condition
89 2 38 0 defined $ref->{'delay'} and $ref->{'delay'} eq -9999
179 0 0 0 scalar $self->route_pre && ($self->route_pre)[0]->sched_dep
231 0 0 0 @via_main and $via_main[-1] == $last_stop
234 0 0 0 @via and $via[-1] == $last_stop
238 0 0 0 @via_main and @via
0 0 0 @via_main and @via and $via[0] == $via_main[0]
253 0 0 0 @via_show < $max_parts and @via_main

or 2 conditions

line l !l condition
43 0 40 $dt->{'second'} // 0
55 0 38 $dt->{'second'} // 0
61 0 40 $departure->{'servingLine'}{'hints'} // []
131 0 0 $stop_seq // []
166 0 0 $ref->{'platform'} || $stop->{'platformName'} || undef
192 3 0 $self->{'hints'} // []
198 3 0 $mot_mapping[$self->{'mot'}] // "sonstige"
204 0 0 $self->{'prev_route'} // []
210 0 0 $self->{'next_route'} // []
218 0 0 $max_parts //= 3

or 3 conditions

line l !l&&r !l&&!r condition
86 40 0 0 $departure->{'servingLine'}{'symbol'} || $departure->{'servingLine'}{'number'}
97 38 2 0 $ref->{'rt_datetime'} // $ref->{'sched_datetime'}
255 0 0 0 &any(sub {