Condition Coverage

blib/lib/Data/Record/Serialize/Role/Sink/Stream.pm
Criterion Covered Total %
condition 9 18 50.0


and 3 conditions

line !l l&&!r l&&r condition
111 12 2 0 &Scalar::Util::blessed($output) and $output->isa('IO::Handle') || $output->isa('FileHandle')

or 3 conditions

line l !l&&r !l&&!r condition
107 1 0 0 'IO::File'->new($output, 'w') || error('::create', "unable to create output file: '${output}'")
111 2 0 0 $output->isa('IO::Handle') || $output->isa('FileHandle')
1 0 14 $ref eq "GLOB" or &Scalar::Util::blessed($output) and $output->isa('IO::Handle') || $output->isa('FileHandle')
118 12 0 0 'IO::File'->new($output, 'w') || error('::create', 'unable to open scalar for output')
155 0 10 10 $in_global_destruction or $self->_passed_fh