Branch Coverage

blib/lib/Data/Record/Serialize/Role/Sink/Stream.pm
Criterion Covered Total %
branch 14 18 77.7


line true false branch
112 4 15 if ($ref eq "")
113 1 3 if ref \$output eq "GLOB"
114 0 3 if $output eq "-"
117 1 2 if ($self->create_output_dir)
120 0 1 unless eval { do { $dir->mkdir } }
127 3 0 if $ref eq "GLOB" or builtin::blessed($output) and $output->isa('IO::Handle') || $output->isa('FileHandle')
134 12 0 if $ref eq "SCALAR"
183 10 13 if $in_global_destruction or $self->_passed_fh
187 11 2 if $self->has_fh