blib/lib/Venus/Path.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 19 | 32 | 59.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
204 | 0 | 42 | 1 | -e $path && -d $path |
212 | 3 | 3 | 5 | -e $path && !(-d $path) |
line | l | !l | condition |
---|---|---|---|
87 | 2 | 0 | $_ || -1 |
146 | 1 | 1 | $suffix || undef |
183 | 60 | 1 | $expr ||= "*" |
224 | 1 | 1 | $separator //= "\n" |
551 | 37 | 1 | $spec || 'e' |
583 | 2 | 0 | $handle->syswrite($data) // -1 |
616 | 1 | 1 | $data->{'exit_code'} || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
40 | 0 | 2 | 0 | ref $self || $self |
405 | 0 | 0 | 0 | binmode $handle, $binmode or do { $self->error({"throw", "error_on_read_binmode", "path", $path, "error", $!, "binmode", $binmode}) } |
433 | 2 | 0 | 0 | $path ||= $self->default |
574 | 0 | 0 | 0 | binmode $handle, $binmode or do { $self->error({"throw", "error_on_write_binmode", "path", $path, "error", $!, "binmode", $binmode}) } |