Branch Coverage

blib/lib/Test2/Harness/Proc.pm
Criterion Covered Total %
branch 22 34 64.7


line true false branch
17 2484 16 if $self->{$thing}
22 4 1226 unless $fh
40 327 0 if ($enc =~ /^utf-?8$/i) { }
53 5260 24249 if defined $self->{'exit'}
61 4655 24856 if defined $self->{'exit'}
63 0 24856 unless my $pid = $self->{'pid'}
67 24249 607 if $ret == 0
68 0 607 if $ret == -1
79 0 0 unless my $pid = $self->{'pid'}
80 0 0 unless kill 'INT', $pid
83 0 0 if $self->wait(1)
84 0 0 unless $_ >= 5
122 2791 63625 if (@$stash > $$idx)
124 2520 271 unless $params{'peek'}
128 0 63625 unless my $h = $self->{$io_name}
132 43344 20281 unless defined $line
136 17761 2520 unless $params{'peek'}