Branch Coverage

blib/lib/App/EvalServer/Child.pm
Criterion Covered Total %
branch 0 22 0.0


line true false branch
29 0 0 unless open $PIPE, '>', $pipe_name
33 0 0 unless chdir $tempdir
38 0 0 if $@
40 0 0 unless $unsafe
74 0 0 if ref $return ne 'HASH'
90 0 0 unless defined $new_uid
99 0 0 if $< != 0
101 0 0 unless chdir
102 0 0 unless chroot '.'
110 0 0 if ($> != $new_uid or $< != $new_uid)
119 0 0 unless &setrlimit(RLIMIT_DATA(), $limit_bytes, $limit_bytes) and &setrlimit(RLIMIT_STACK(), $limit_bytes, $limit_bytes) and &setrlimit(RLIMIT_NPROC(), 1, 1) and &setrlimit(RLIMIT_NOFILE(), 0, 0) and &setrlimit(RLIMIT_OFILE(), 0, 0) and &setrlimit(RLIMIT_OPEN_MAX(), 0, 0) and &setrlimit(RLIMIT_LOCKS(), 0, 0) and &setrlimit(RLIMIT_AS(), $limit_bytes, $limit_bytes) and &setrlimit(RLIMIT_VMEM(), $limit_bytes, $limit_bytes) and &setrlimit(RLIMIT_MEMLOCK(), 100, 100) and &setrlimit(RLIMIT_CPU(), 10, 10)