Branch Coverage

lib/Mojo/IOLoop/ReadWriteProcess/Namespace.pm
Criterion Covered Total %
branch 17 40 42.5


line true false branch
32 0 3 unless $^O eq 'linux'
35 0 3 unless $machine
39 0 3 if $machine eq 'x86_64' and $Mojo::IOLoop::ReadWriteProcess::Namespace::Config{'ptrsize'} == 4
41 0 0 $machine eq 'ia64' ? :
0 0 $machine eq 'ppc' ? :
3 0 $machine eq 'x86_64' ? :
0 3 $machine eq 's390' ? :
0 3 $machine =~ /^i[3456]86|^blackfin|cris|frv|h8300|m32r|m68k|microblaze|mn10300|sh|parisc$/u ? :
52 0 3 unless (defined $prctl_call)
58 0 0 unless my $rv = eval { do { require 'syscall.ph'; 1 } }
67 0 2 unless $^O eq 'linux'
70 0 2 unless $machine
74 0 2 if $machine eq 'x86_64' and $Mojo::IOLoop::ReadWriteProcess::Namespace::Config{'ptrsize'} == 4
89 2 0 unless (defined $prctl_call)
95 2 0 unless my $rv = eval { do { require 'syscall.ph'; 1 } }
110 0 2 if $!{'EINVAL'}
111 2 0 if $!
120 0 3 if $!{'EINVAL'}
121 3 0 if $!
129 1 0 if $self->mount('none', $procdir, 0, 278528) != 0 or $self->mount('proc', $procdir, 'proc', 14) != 0