Branch Coverage

blib/lib/Test2/Plugin/IOMuxer/Layer.pm
Criterion Covered Total %
branch 17 28 60.7


line true false branch
13 0 3 unless ($ok)
53 0 16 if ($self->{'DIED'} or $DEPTH)
65 0 16 if @parts == 1 and $parts[0] eq "\n"
66 4 12 if @parts % 2
69 4 32 unless defined $part
70 14 18 if $part eq "\n"
75 14 4 if ($parts{$part}) { }
79 2 12 if (@{$self->{'buffer'};}) { }
112 0 16 unless ($ok1 and $ok2)
115 0 0 if $ok1
116 0 0 if $ok2
127 0 4 unless my $handle = $self->{'handle'}
128 0 4 unless my $buffer = $self->{'buffer'}
129 4 0 unless @$buffer