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'
61 1 0 if $pid < 0
64 0 0 $self->term_child ? :
79 0 1 if $self->private_net
80 0 0 if ($self->private_pid and ref $args{'code'} ne 'CODE' || !$args{'_run'})
88 0 0 if ($self->private_tmp or $self->private_mount or $self->private_pid and not $self->no_proc)
92 0 0 if ($self->private_tmp)
94 0 0 if ref $self->private_tmp eq 'HASH'
100 0 0 if ($self->private_pid and not $self->no_proc)
124 0 1 unless ref $code eq 'CODE'