Condition Coverage

blib/lib/Venus/Path.pm
Criterion Covered Total %
condition 18 29 62.0


and 3 conditions

line !l l&&!r l&&r condition
202 0 42 1 -e $path && -d $path
210 3 3 5 -e $path && !(-d $path)

or 2 conditions

line l !l condition
85 2 0 $_ || -1
144 1 1 $suffix || undef
181 58 1 $expr ||= "*"
222 1 1 $separator //= "\n"
549 36 1 $spec || 'e'
581 2 0 $handle->syswrite($data) // -1
614 1 1 $data->{'exit_code'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
403 0 0 0 binmode $handle, $binmode or do { $self->error({"throw", "error_on_read_binmode", "path", $path, "error", $!, "binmode", $binmode}) }
431 2 0 0 $path ||= $self->default
572 0 0 0 binmode $handle, $binmode or do { $self->error({"throw", "error_on_write_binmode", "path", $path, "error", $!, "binmode", $binmode}) }