Condition Coverage

blib/lib/Travel/Status/DE/URA.pm
Criterion Covered Total %
condition 35 61 57.3


and 3 conditions

line !l l&&!r l&&r condition
37 2 11 0 $opt{'ura_base'} and $opt{'ura_version'}
79 0 0 0 not $self->{'full_routes'} and $self->{'stop_id'}
229 178167 0 0 $line_id and not $lineid eq $line_id
233 64788 1507 111872 $stop and not $stopname eq $stop
237 66295 0 0 $stop_id and not $stopid eq $stop_id
248 33901 0 32394 $hide_past and $ts_now > $timestamp
267 7 10 740 $via and &none(sub { $_->[1] eq $via; } , @route_post)
273 17 0 0 $via_id and &none(sub { $_->[2] eq $via_id; } , @route_post)

or 2 conditions

line l !l condition
32 0 13 $opt{'lwp_options'} // {'timeout', 10}
55 1 9 $opt{'calculate_routes'} // 0
9 1 $opt{'hide_past'} // 1
199 11 0 ($opt{'calculate_routes'} // $self->{'full_routes'}) // 0
200 11 0 ($opt{'hide_past'} // $self->{'hide_past'}) // 1

or 3 conditions

line l !l&&r !l&&!r condition
55 6 4 0 $opt{'datetime'} // 'DateTime'->now('time_zone', 'Europe/Berlin')
199 1 0 11 $opt{'calculate_routes'} // $self->{'full_routes'}
200 1 0 11 $opt{'hide_past'} // $self->{'hide_past'}
201 0 0 12 $opt{'line_id'} // $self->{'line_id'}
202 5 0 7 $opt{'stop'} // $self->{'stop'}
203 0 0 12 $opt{'stop_id'} // $self->{'stop_id'}
204 2 0 10 $opt{'via'} // $self->{'via'}
205 0 0 12 $opt{'via_id'} // $self->{'via_id'}
210 2 0 10 $via or $via_id