Branch Coverage

blib/lib/Sys/Linux/Namespace.pm
Criterion Covered Total %
branch 11 36 30.5


line true false branch
21 1 0 if $debug
36 0 0 if $self->private_tmp or $self->private_mount or $self->private_pid and not $self->no_proc
37 0 1 if $self->private_pid
38 0 1 if $self->private_net
39 0 1 if $self->private_ipc
40 0 1 if $self->private_user
41 0 1 if $self->private_uts
42 0 1 if $self->private_sysvsem
49 0 1 unless ref $code eq 'CODE'
60 1 0 if $pid < 0
62 0 0 $self->term_child ? :
77 0 1 if $self->private_net
78 0 0 if ($self->private_pid and ref $args{'code'} ne 'CODE' || !$args{'_run'})
86 0 0 if ($self->private_tmp or $self->private_mount or $self->private_pid and not $self->no_proc)
90 0 0 if ($self->private_tmp)
92 0 0 if ref $self->private_tmp eq 'HASH'
98 0 0 if ($self->private_pid and not $self->no_proc)
122 0 1 unless ref $code eq 'CODE'