blib/lib/POSIX/1003/Proc.pm

filter: Statementstmt 71.4% 25 / 35 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 28.5% 4 / 14 Podpod 88.8% 8 / 9 totaltotal 63.7% 37 / 58 CC 1 SCAR 5.4
CC
1
Cov
71%
cuserid
2.0
ctermid
2.0
_exit
2.0
CRAP 1.7
« blib/lib/POSIX/1003/Math.pm ↑ Summary 1003.xs »
1 # Copyrights 2011-2013 by [Mark Overmeer].
2 # For other contributors see ChangeLog.
3 # See the manual pages for details on the licensing terms.
4 # Pod stripped from pm file by OODoc 2.01.
5 3 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 package POSIX::1003::Proc;
9 3 ▶use vars '$VERSION';
Subroutine BEGIN: called CC=1 SCAR=0.0
10 1 $VERSION = '0.98';
11  
12 3 ▶use base 'POSIX::1003::Module';
Subroutine BEGIN: called CC=1 SCAR=0.0
13  
14 # Blocks resp. in stdlib.h, limits.h
15 1 my @constants = qw/
16 EXIT_FAILURE EXIT_SUCCESS CHILD_MAX
17 WNOHANG WUNTRACED
18 /;
19 1 our @IN_CORE = qw/wait waitpid/;
20  
21 # Blocks resp. in stdlib.h, sys/wait.h, unistd.h
22 1 my @functions = qw/
23 abort
24  
25 WEXITSTATUS WIFEXITED WIFSIGNALED WIFSTOPPED
26 WSTOPSIG WTERMSIG
27
28 _exit pause setpgid setsid tcgetpgrp tcsetpgrp
29 ctermid cuserid getcwd nice
30 /;
31 1 push @functions, @IN_CORE;
32  
33 1 our %EXPORT_TAGS =
34 ( constants => \@constants
35 , functions => \@functions
36 );
37  
38  
39 # When the next where automatically imported from POSIX, they are
40 # considered constant and therefore without parameter. Therefore,
41 # these are linked explicitly.
42 1 *WIFEXITED = \&POSIX::WIFEXITED;
43 1 *WIFSIGNALED = \&POSIX::WIFSIGNALED;
44 1 *WIFSTOPPED = \&POSIX::WIFSTOPPED;
45 1 *WEXITSTATUS = \&POSIX::WEXITSTATUS;
46 1 *WTERMSIG = \&POSIX::WTERMSIG;
47 1 *WSTOPSIG = \&POSIX::WSTOPSIG;
48  
49 #-------------------------------------
50  
51 0 ▶sub cuserid() {goto &POSIX::cuserid}
Subroutine cuserid: not called CC=1 SCAR=6.9
Pod documented
52 0 ▶sub ctermid() {goto &POSIX::ctermid}
Subroutine ctermid: not called CC=1 SCAR=6.9
Pod documented
53 0 ▶sub _exit($) {goto &POSIX::_exit}
Subroutine _exit: not called CC=1 SCAR=6.9
54 0 ▶sub pause() {goto &POSIX::pause}
Subroutine pause: not called CC=1 SCAR=6.9
Pod documented
55 0 ▶sub setpgid($$) {goto &POSIX::setpgid}
Subroutine setpgid: not called CC=1 SCAR=6.9
Pod documented
56 0 ▶sub setsid() {goto &POSIX::setsid}
Subroutine setsid: not called CC=1 SCAR=6.9
Pod documented
57 0 ▶sub cgetpgrp($) {goto &POSIX::cgetpgrp}
Subroutine cgetpgrp: not called CC=1 SCAR=6.9
Pod undocumented
58 0 ▶sub tcsetpgrp($$) {goto &POSIX::tcsetpgrp}
Subroutine tcsetpgrp: not called CC=1 SCAR=6.9
Pod documented
59  
60  
61 0 ▶sub nice($) {goto &POSIX::nice}
Subroutine nice: not called CC=1 SCAR=6.9
Pod documented
62  
63  
64 0 ▶sub times5() {goto &POSIX::times}
Subroutine times5: not called CC=1 SCAR=6.9
Pod documented
65  
66 1 1;
« blib/lib/POSIX/1003/Math.pm ↑ Summary 1003.xs »