Branch Coverage

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


line true false branch
29 0 1 unless $in
30 1 0 if ($in eq 'mux_handle')
42 0 0 if 'Test2::API'->can('test2_stdout')
43 0 0 if 'Test2::API'->can('test2_stderr')
49 0 0 unless my $formatter = $hub->format
52 0 0 if ($formatter->can($meth))
54 0 0 if @list == 1 and ref $list[0] eq 'ARRAY'
70 0 1 unless defined $fileno
72 0 1 if (my $set = $Test2::Plugin::IOMuxer::Layer::MUXED{$fileno})
73 0 0 if $set eq $file
79 1 0 unless ($Test2::Plugin::IOMuxer::Layer::MUX_FILES{$file})
80 0 1 unless &CORE::GLOBAL::open(my $mh, '>', $file)