Branch Coverage

lib/Mojo/IOLoop/ReadWriteProcess/Session.pm
Criterion Covered Total %
branch 27 58 46.5


line true false branch
37 913 2 if $_[0] and $_[0] eq $singleton
38 3 912 @_ > 1 ? :
48 191 85 if $singleton->handler
55 2 268 unless $singleton->collect_status
60 260 8 if $singleton->emit_from_sigchld
76 227 49 if ($singleton->resolve($pid)) { }
115 49 686 $w eq 'orphans' ? :
735 50 exists $singleton->{$w}{$el} ? :
149 7 0 $singleton->_prctl(36, 0) == 0 ? :
154 47 0 $singleton->_prctl(36, 1) == 0 ? :
161 0 122 unless $^O eq "linux"
164 0 122 unless $machine
168 0 122 if $machine eq "x86_64" and $Mojo::IOLoop::ReadWriteProcess::Session::Config{'ptrsize'} == 4
170 0 0 $machine eq 'xtensa' ? :
0 0 $machine eq 'mips64' ? :
0 0 $machine eq 'mips' ? :
0 0 $machine eq 'avr32' ? :
0 0 $machine eq 'alpha' ? :
0 0 $machine eq 'ia64' ? :
0 0 $machine eq 'ppc' || $machine eq 'ppc64le' ? :
0 0 $machine eq 'aarch64' ? :
0 0 $machine eq 'sparc64' ? :
122 0 $machine eq 'x86_64' ? :
0 122 $machine =~ /^i[3456]86|^blackfin|cris|frv|h8300|m32r|m68k|microblaze|mn10300|sh|s390|parisc$/u ? :
186 0 122 unless (defined $prctl_call)
192 0 0 unless my $rv = eval { do { require "syscall.ph"; 1 } }
201 0 61 unless defined _get_prctl_syscall()
211 0 61 if $!{'EINVAL'}
212 0 61 if $!