Condition Coverage

blib/lib/IO/All.pm
Criterion Covered Total %
condition 34 72 47.2


and 3 conditions

line !l l&&!r l&&r condition
243 0 60 9 defined $argument->pathname and not $argument->type
286 0 0 0 $_[1]->is_file and $_[1]->is_open
292 0 0 0 $_[2]->is_file and $_[2]->is_open
313 0 14 0 $_[1]->is_file and $_[1]->is_open
570 27 0 15 $self->_chomp and defined $line
621 0 0 3 defined $self->pathname and not $self->type
0 0 0 defined $self->_handle and not $self->io_handle->opened
698 15 0 2 $self->is_open and $encoding

or 2 conditions

line l !l condition
245 69 0 $argument->type || 'unknown'
742 0 2 $self->perms || 493
744 0 1 $self->perms || 493

or 3 conditions

line l !l&&r !l&&!r condition
62 584 0 0 ref $self || $self
74 7 577 0 $self->autoload->{$method} || $method
100 1 647 0 ref $self || $self
107 0 0 510 UNIVERSAL::isa($name, 'GLOB') or ref \$name eq 'GLOB'
116 0 2 50 $name =~ s/^\s*\|\s*// or $name =~ s/\s*\|\s*$//
203 22 0 0 $op_swap->{$operator} || $operator
210 25 0 0 $table1->{$key} || $self->_overload_undefined($key)
645 0 0 44 @_ || $self->type eq 'dir'
650 42 0 2 $length || $self->_autoclose && $self->close && 0
742 1 1 2 not CORE::length $dir_name or -d $dir_name
2 1 1 not CORE::length $dir_name or -d $dir_name or mkdir $dir_name, $self->perms || 493
2 1 0 not CORE::length $dir_name or -d $dir_name or mkdir $dir_name, $self->perms || 493 or do { require File::Path; File::Path::mkpath($dir_name, 0, $self->perms || 493) }
1 0 0 not CORE::length $dir_name or -d $dir_name or mkdir $dir_name, $self->perms || 493 or do { require File::Path; File::Path::mkpath($dir_name, 0, $self->perms || 493) } or $self->throw("Can't make $dir_name")
786 0 13 0 $self->io_handle || $self->pathname