Branch Coverage

blib/lib/Test2/Plugin/IOMuxer.pm
Criterion Covered Total %
branch 6 24 25.0


line true false branch
25 0 1 unless $in
26 1 0 if ($in eq 'mux_handle')
39 0 0 unless my $formatter = $hub->format
42 0 0 if ($formatter->can($meth))
44 0 0 if @list == 1 and ref $list[0] eq 'ARRAY'
55 0 0 if 'Test2::API'->can('test2_stdout')
56 0 0 if 'Test2::API'->can('test2_stderr')
63 0 1 unless defined $fileno
65 0 1 if (my $set = $Test2::Plugin::IOMuxer::Layer::MUXED{$fileno})
66 0 0 if $set eq $file
72 1 0 unless ($Test2::Plugin::IOMuxer::Layer::MUX_FILES{$file})
73 0 1 unless &CORE::GLOBAL::open(my $mh, '>', $file)