| blib/lib/Data/Record/Serialize/Role/Sink/Stream.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 14 | 18 | 77.7 |
| line | true | false | branch |
|---|---|---|---|
| 105 | 3 | 15 | if ($ref eq "") |
| 106 | 1 | 2 | if ref \$output eq "GLOB" |
| 107 | 0 | 2 | if $output eq "-" |
| 110 | 1 | 1 | if ($self->create_output_dir) |
| 113 | 0 | 1 | unless eval { do { $dir->mkdir } } |
| 120 | 3 | 0 | if $ref eq "GLOB" or builtin::blessed($output) and $output->isa('IO::Handle') || $output->isa('FileHandle') |
| 127 | 12 | 0 | if $ref eq "SCALAR" |
| 176 | 10 | 12 | if $in_global_destruction or $self->_passed_fh |
| 180 | 10 | 2 | if $self->has_fh |