Branch Coverage

blib/lib/Protocol/ACME/OpenSSL.pm
Criterion Covered Total %
branch 13 28 46.4


line true false branch
23 5 0 if length $opts{'stdin'}
29 2 3 unless ($pid)
31 0 2 unless defined $pid
37 2 0 if (length $opts{'stdin'})
40 0 2 unless (open \*STDIN, '<&=' . fileno($crdr))
47 0 2 unless (open \*STDOUT, '>&=' . fileno($cwtr))
53 0 2 unless (open \*STDERR, '>&=' . fileno($cerr))
59 0 0 unless (exec {$self->{'_bin'};} $self->{'_bin'}, @cmd)
69 3 0 if (length $opts{'stdin'})
71 0 3 unless print {$pwtr;} $opts{'stdin'}
74 0 3 unless close $pwtr
85 0 3 if ($?)
87 0 0 $? & 255 ? :
96 0 15 unless pipe my $rdr, my $wtr