Condition Coverage

blib/lib/Bio/Polloc/Polloc/IO.pm
Criterion Covered Total %
condition 18 47 38.3


and 3 conditions

line !l l&&!r l&&r condition
177 0 8 0 ref $$self{'_filehandle'} and not $$self{'_filehandle'}->isa('IO::String')
210 100 0 0 $^O =~ /mswin/i and not $exe =~ /\.(exe|com|bat|cmd)$/i
214 700 0 0 -e $f and -x $f
316 250 0 0 exists $$self{'_rootio_tempfiles'} and ref($$self{'_rootio_tempfiles'}) =~ /array/i
358 0 0 0 ref $input and ref $input eq 'GLOB' || $input->isa('IO::Handle')
359 0 0 0 $file and $file ne $input
368 247 8 0 defined $file and defined $fh
255 0 0 defined $file and defined $fh and not $createtemp
371 1 246 8 not defined $fh and defined $file
247 0 8 not defined $fh and defined $file and $file ne ''

or 2 conditions

line l !l condition
270 4 0 $self->_fh || \*STDOUT

or 3 conditions

line l !l&&r !l&&!r condition
52 0 0 0 ref $_[0] or $_[0] =~ /^Bio::Polloc::/
174 2 0 8 \*STDOUT == $self->_fh or \*STDIN == $self->_fh
2 0 8 \*STDOUT == $self->_fh or \*STDIN == $self->_fh or \*STDERR == $self->_fh
209 0 100 0 ref $self or $exe
358 0 0 0 ref $input eq 'GLOB' || $input->isa('IO::Handle')