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
120 12 2 0 builtin::blessed($output) and $output->isa('IO::Handle') || $output->isa('FileHandle')

or 3 conditions

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