Branch Coverage

lib/Mojo/IOLoop/ReadWriteProcess/Session.pm
Criterion Covered Total %
branch 23 56 41.0


line true false branch
35 838 2 if $_[0] and $_[0] eq $singleton
36 3 837 @_ > 1 ? :
52 2 239 unless $singleton->collect_status
69 209 47 if ($singleton->resolve($pid)) { }
97 47 632 $w eq 'orphans' ? :
679 48 exists $singleton->{$w}{$el} ? :
127 7 0 $singleton->_prctl(36, 0) == 0 ? :
132 47 0 $singleton->_prctl(36, 1) == 0 ? :
139 0 122 unless $^O eq 'linux'
142 0 122 unless $machine
146 0 122 if $machine eq 'x86_64' and $Mojo::IOLoop::ReadWriteProcess::Session::Config{'ptrsize'} == 4
148 0 0 $machine eq 'xtensa' ? :
0 0 $machine eq 'mips64' ? :
0 0 $machine eq 'mips' ? :
0 0 $machine eq 'avr32' ? :
0 0 $machine eq 'arm' ? :
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 ? :
165 0 122 unless (defined $prctl_call)
171 0 0 unless my $rv = eval { do { require 'syscall.ph'; 1 } }
180 0 61 unless defined _get_prctl_syscall()
190 0 61 if $!{'EINVAL'}
191 0 61 if $!