blib/lib/Travel/Status/DE/URA/Result.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 12 | 23 | 52.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
83 | 0 | 15 | 0 | @via_main and $via_main[-1] == $last_stop |
86 | 0 | 15 | 0 | @via and $via[-1] == $last_stop |
90 | 0 | 0 | 15 | @via_main and @via |
0 | 15 | 0 | @via_main and @via and $via[0] == $via_main[0] | |
105 | 15 | 0 | 23 | @via_show < $max_parts and @via_main |
line | l | !l | condition |
---|---|---|---|
70 | 10 | 5 | $max_parts //= 3 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
28 | 1 | 1 | 0 | $self->{'countdown'} //= $self->datetime->subtract_datetime($self->{'dt_now'})->in_units('minutes') |
38 | 1 | 1 | 0 | $self->{'countdown_sec'} //= $secpattern->format_duration($self->datetime->subtract_datetime($self->{'dt_now'})) |