Branch Coverage

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


line true false branch
37 805 2 if $_[0] and $_[0] eq $singleton
38 3 804 @_ > 1 ? :
48 191 83 if $singleton->handler
55 2 249 unless $singleton->collect_status
60 242 7 if $singleton->emit_from_sigchld
74 222 49 if ($singleton->resolve($pid)) { }
113 49 671 $w eq 'orphans' ? :
720 50 exists $singleton->{$w}{$el} ? :
147 7 0 $singleton->_prctl(36, 0) == 0 ? :
152 47 0 $singleton->_prctl(36, 1) == 0 ? :
159 0 122 unless $^O eq "linux"
162 0 122 unless $machine
166 0 122 if $machine eq "x86_64" and $Mojo::IOLoop::ReadWriteProcess::Session::Config{'ptrsize'} == 4
168 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 ? :
184 0 122 unless (defined $prctl_call)
190 0 0 unless my $rv = eval { do { require "syscall.ph"; 1 } }
199 0 61 unless defined _get_prctl_syscall()
209 0 61 if $!{'EINVAL'}
210 0 61 if $!