blib/lib/WWW/Velib.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 4 | 20 | 20.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
112 | 0 | 0 | 0 | $$self{'cache_dir'} and -d $$self{'cache_dir'} |
129 | 0 | 0 | 0 | $$self{'cache_dir'} and -d $$self{'cache_dir'} |
198 | 2 | 0 | 0 | not $$self{'balance'} and defined $1 |
300 | 0 | 0 | 0 | exists $$self{'trip_day'} and exists $$self{'trip_day_n'} |
line | l | !l | condition |
---|---|---|---|
230 | 2 | 0 | $4 || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
44 | 2 | 2 | 0 | exists $$self{$key} or $$self{'defer'} |
87 | 0 | 0 | 0 | $timestamp ||= sub { sprintf '%04d%02d%02d-%02d%02d%02d', $_[5] + 1900, $_[4] + 1, reverse(@_[0..3]); } ->(localtime) |