Condition Coverage

lib/Mail/Make/Stream.pm
Criterion Covered Total %
condition 8 24 33.3


and 3 conditions

line !l l&&!r l&&r condition
98 0 142 0 defined $this and ref $this || length $this

or 2 conditions

line l !l condition
116 72 0 'Module::Generic::Scalar::IO'->new($this, $mode) || (return $self->pass_error('Module::Generic::Scalar::IO'->error))
122 12 0 $self->new_file("$this") || (return $self->pass_error)
127 12 0 $f->open($mode, {'binmode', 'raw', $opts->{'write'} ? ('autoflush', 1) : ()}) || (return $self->pass_error($f->error))

or 3 conditions

line l !l&&r !l&&!r condition
73 64 0 0 ref $self || $self
98 142 0 0 ref $this || length $this
123 12 0 0 $f->exists or $opts->{'write'}
153 25 0 0 ($flags & 0) == 0 or $flags & 2
166 0 0 0 $self->_can($fh, 'print') || $self->_can($fh, 'write')